Sign in to follow this  
maveryck21

Stacked Column 2D Not Starting On Zero

Recommended Posts

Hey,

 

Why am I getting this chart post-39798-0-89768000-1363886986_thumb.png from the following data?

 

The chart should start on zero but it starts on 400.

 


{
 "chart":{
   //Functional Attributes
   "adjustDiv": "0",
   "showValues": "0",
   "showYAxisValues": "1",
   "yAxisMinValue": 0,
   "yAxisMaxValue": 1,
   "showLabels": "1",

   //Chart Cosmetics
   "bgAlpha": 0,
   "canvasBgAlpha": 0,
   "showBorder": "0",
   "canvasBorderThickness": 0,

   //Data Plot Cosmetics
   "showPlotBorder": "1",
   "plotBorderColor": "FFFFFF",
   "plotBorderThickness": 1,
   "plotFillRatio": 100,

   //Chart Padding & Margins
   "valuePadding": 0,

   //Divisional Lines & Grids
   "showAlternateHGridColor": 0,
   "numDivLines": 3,
   "zeroPlaneThickness": 1,
   "divLineThickness": 1,
   "divLineAlpha": 20,
   "zeroPlaneAlpha": 20,

   //Legend
   "showLegend": "0",
 },
 "categories":[{
     "category":[
       {
         "label":"06/12"
       },
       {
         "label":"07/12"
       },
       {
         "label":"08/12"
       },
       {
         "label":"09/12"
       },
       {
         "label":"10/12"
       }
     ]
   }
 ],
 "dataset":[{
     "seriesname":"Green Series",
     "ratio": "100",
     "color": "64bb48", //green
     "data":[
       {
         "value":"500"
       },
       {
         "value":"390"
       },
       {
         "value":"365"
       },
       {
         "value":"460"
       },
       {
         "value":"220"
       },
     ]
   },
   {
     "seriesname":"Red Series",
     "ratio": "100",
     "color": "e64e4d", //red
     "data":[
       {
         "value":"110"
       },
       {
           "value":"110"
       },
       {
         "value":"100"
       },
       {
           "value":"110"
       },
       {
           "value":"110"
       }
     ]
   },
   {
     "seriesname":"Gray Series",
     "ratio": "100",
     "color": "E6E6E6",
     "data":[
       {
           "value":"110"
       },
       {
         "value":"200"
       },
       {
           "value":"110"
       },
       {
           "value":"110"
       },
       {
         "value":"50"
       }
     ]
   }
 ]
}

Share this post


Link to post
Share on other sites

Hi,

 

A warm welcome to FusionCharts Forum.:)

 

We have tried creating the Stacked Column 2D chart using the JSON data provided by you and it seems to be giving the expected output here.

 

Please find the attached screenshot of the same.

 

Could you please check again if the values provided are the same that you sent us??

 

Awaiting response.

post-37797-0-43875100-1363935235_thumb.png

Share this post


Link to post
Share on other sites

Hey,

 

Thanks for the reply.

 

Yes It is exactly the same data.

 

Even if I use the sample data you give on the docs my charts appear different from your examples. Always with this problem on the Y-Axis.

 

Any thoughts?

 

I'm using the latest version of FusionCharts.

 

Thanks

Hi,

 

A warm welcome to FusionCharts Forum.:)

 

We have tried creating the Stacked Column 2D chart using the JSON data provided by you and it seems to be giving the expected output here.

 

Please find the attached screenshot of the same.

 

Could you please check again if the values provided are the same that you sent us??

 

Awaiting response.

Share this post


Link to post
Share on other sites

Hey,

 

Thanks for your reply.

 

I'm using exactly the same data. Even if I try to recreate the charts using your sample data from the docs, my charts always appear with this problem on the Y-Axis.

 

I'm using the latest version of FusionCharts.

 

Any thoughts?

 

Thanks.

Hi,

 

A warm welcome to FusionCharts Forum.:)

 

We have tried creating the Stacked Column 2D chart using the JSON data provided by you and it seems to be giving the expected output here.

 

Please find the attached screenshot of the same.

 

Could you please check again if the values provided are the same that you sent us??

 

Awaiting response.

Share this post


Link to post
Share on other sites

Hi,

 

We tried replicating the issue using FusionCharts V3.3.0 and it works fine here.

 

Could you please let us know the environment that you are using?

 

Awaiting your response.

Share this post


Link to post
Share on other sites

Hey,

 

I've replaced my FusionCharts files and now is working properly. Strange nevertheless because I didn't change anything on the files.

 

Thanks anyway.

Hi,

 

We tried replicating the issue using FusionCharts V3.3.0 and it works fine here.

 

Could you please let us know the environment that you are using?

 

Awaiting your response.

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
Sign in to follow this