Sign in to follow this  
nest_d

Data In Json Format Is Invalid

Recommended Posts

Open any of charts from here:

 

http://www.fusioncha...ry.asp?LineArea

 

Click to the json button and you will see invalid JSON something like:

 

{
 "chart": {
     	"palette": "2",
     	"caption": "Sales Comparison",
     	"showvalues": "0",
     	"numvdivlines": "10",
     	"drawanchors": "0",
     	"numberprefix": "{:content:}quot;,
     	"divlinealpha": "30",
     	"alternatehgridalpha": "20",
     	"setadaptiveymin": "1",
     	},[{[{
             	"label": "Jan",
             	},{
             	"label": "Feb",
             	},{
             	"label": "Mar",
             	},{
             	"label": "Apr",
             	},{
             	"label": "May",
             	},{
             	"label": "Jun",
             	},{
             	"label": "Jul",
             	},{
             	"label": "Aug",
             	},{
             	"label": "Sep",
             	},{
             	"label": "Oct",
             	},{
             	"label": "Nov",
             	},{
             	"label": "Dec",
             	},]
     	},][{
     	"seriesname": "Current Year",
     	"color": "A66EDD",[{
             	"value": "1127654",
             	},{
             	"value": "1226234",
             	},{
             	"value": "1299456",
             	},{
             	"value": "1311565",
             	},{
             	"value": "1324454",
             	},{
             	"value": "1357654",
             	},{
             	"value": "1296234",
             	},{
             	"value": "1359456",
             	},{
             	"value": "1391565",
             	},{
             	"value": "1414454",
             	},{
             	"value": "1671565",
             	},{
             	"value": "1134454",
             	},]
     	},{
     	"seriesname": "Previous Year",
     	"color": "F6BD0F",[{
             	"value": "927654",
             	},{
             	"value": "1126234",
             	},{
             	"value": "999456",
             	},{
             	"value": "1111565",
             	},{
             	"value": "1124454",
             	},{
             	"value": "1257654",
             	},{
             	"value": "1196234",
             	},{
             	"value": "1259456",
             	},{
             	"value": "1191565",
             	},{
             	"value": "1214454",
             	},{
             	"value": "1371565",
             	},{
             	"value": "1434454",
             	},]
     	},]
 "styles": {[{
             	"name": "XScaleAnim",
             	"type": "ANIMATION",
             	"duration": "0.5",
             	"start": "0",
             	"param": "_xScale",
             	},{
             	"name": "YScaleAnim",
             	"type": "ANIMATION",
             	"duration": "0.5",
             	"start": "0",
             	"param": "_yscale",
             	},{
             	"name": "XAnim",
             	"type": "ANIMATION",
             	"duration": "0.5",
             	"start": "0",
             	"param": "_yscale",
             	},{
             	"name": "AlphaAnim",
             	"type": "ANIMATION",
             	"duration": "0.5",
             	"start": "0",
             	"param": "_alpha",
             	},][{
             	"toobject": "CANVAS",
             	"styles": "XScaleAnim, YScaleAnim,AlphaAnim",
             	},{
             	"toobject": "DIVLINES",
             	"styles": "XScaleAnim,AlphaAnim",
             	},{
             	"toobject": "VDIVLINES",
             	"styles": "YScaleAnim,AlphaAnim",
             	},{
             	"toobject": "HGRID",
             	"styles": "YScaleAnim,AlphaAnim",
             	},]
     	},
 }

Share this post


Link to post
Share on other sites

Hey,

 

Welcome to FusionCharts Forum! :)

 

Thank you for reporting this. We are looking into the issue.

 

We shall update you as soon it is fixed.

 

Thank you for your continued support.

Share this post


Link to post
Share on other sites

It does not look like you have gotten around to fixing this. Any idea when you will consistently functional JSON examples? There seem to be many errors / problems throughout the documentation with respect to JSON. We are burning way too many hours of work debugging simple things because we start with bad samples.

 

Hey,

 

Welcome to FusionCharts Forum! :D

 

Thank you for reporting this. We are looking into the issue.

 

We shall update you as soon it is fixed.

 

Thank you for your continued support.

Share this post


Link to post
Share on other sites
Guest Angie

Hi,

 

Welcome to FusionCharts Forum!smile.gif

 

Our developers are looking into the issue and will get back to you once this is fixed.

 

Thank you very much for your continued patience and patronage.

 

Hope you have a great day!

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