sgiTed

JS StackedColumn2D: sums not rendered at top of stack when values are less than 1

Recommended Posts

Hello all. I'm experiencing some weirdness when the values provided to the Javascript version of StackedColumn2D are less than one. Specifically, the sums do not always render at the top of the stacks / columns.

 

Environment:

Firefox v22.0 on Windows 7 (with reports of the same thing happening on Firefox v19 on Mac)

FusionCharts.version: 3,3,1,sr2,19840

 

Screenshot:

post-48539-0-58017000-1372802435_thumb.png

 

HTML:

<html>
  <head>        
    <title>JS StackedColumn2D ShowSum can't seem to handle small numbers</title>         
    <script type="text/javascript" src="FusionCharts/FusionCharts.js">
    </script>
  </head>   
  <body>     
    <div>
        FusionCharts.version:
        <script type="text/javascript">document.write(FusionCharts.version);</script>
    </div>

    <div id="chartDiv"/>

    <script type="text/javascript"><!--   
      // FusionCharts.debugMode.enabled( function() { console.log(arguments); }, 'verbose');
      
      var myChart = new FusionCharts("StackedColumn2D", "theChartJS", "800", "600");
      myChart.setDataURL("chart.xml");
      myChart.render("chartDiv");
    // -->     
    </script>      
  </body> 
</html>

chart.xml:

<chart showSum="1" caption="JS StackedColumn2D ShowSum can't seem to handle small numbers.">
  <categories>
      <category label="Mar 2013"/>
      <category label="Apr 2013"/>
      <category label="May 2013"/>
      <category label="Jun 2013"/>
  </categories>

  <dataset seriesName="Ground">
      <set value="0.74"/>
      <set value="0.98"/>
      <set value="0.60"/>
      <set value="0.28"/>
  </dataset>
  <dataset seriesName="Expedited">
      <set value="0.24"/>
      <set value="0.08"/>
      <set value="0.02"/>
      <set value=""/>
  </dataset>

<!--  
  <dataset seriesName="Ground">
      <set value="74"/>
      <set value="98"/>
      <set value="60"/>
      <set value="28"/>
  </dataset>
  <dataset seriesName="Expedited">
      <set value="24"/>
      <set value="8"/>
      <set value="2"/>
      <set value=""/>
  </dataset>
-->  
</chart>

Note that when I replaced the <dataset> elements with the commented-out ones then the sums render properly at the top of each respective stack, which is why I suspect that small numbers are instigating the issue. Very mysterious!

 

I'd appreciate any insight and suggestions for this issue. Thanks!

Edited by sgiTed

Share this post


Link to post
Share on other sites
Guest Sumedh

Hi,

 

Welcome to FusionCharts Forum!

 

We are able to replicate the same issue and we are looking into this issue.

 

We will get back to you on this,shortly.

 

Thanks for your time and support.

Share this post


Link to post
Share on other sites

same issue I faced with StackedColumn3D during pure javascript rendering. Attached is default chart from gallary (in the download package) with changing 1st column values to zero.

 

post-48961-0-23724800-1373470047_thumb.png

Edited by abdfahim

Share this post


Link to post
Share on other sites
Guest Sumedh

Hi,

 

This has been already identified as a bug.

 

We will update on this, as soon as, it will be fixed.

 

Thanks for your time and support.

Share this post


Link to post
Share on other sites

Hi,

 

Welcome to FusionCharts Forum!

 

We are able to replicate the same issue and we are looking into this issue.

 

We will get back to you on this,shortly.

 

Thanks for your time and support.

 

Hi Sumedh,

 

It's been a few weeks; has there been any progress on this particular issue?

 

Thanks!

Share this post


Link to post
Share on other sites

Hi,

 

Apologies for the delay.

 

This issue would be fixed in our next release. We would update the thread once the fix has been officially released.

 

Hope this helps.

Share this post


Link to post
Share on other sites
Guest Sumedh

Hi sgiTed,

 

Recently, we have released a new version of FusionCharts XT i.e., FusionCharts XT v3.3.1 Service Release 3.

 

And this bug has been fixed in this release.

 

Can you try using this version and let me know your feedback?

 

You can get the trial version from here:

http://www.fusioncharts.com/download/trials/

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now