Sign in to follow this  
corey_b

MSLine and MSArea Plots not Showing when No Theme Selected

Recommended Posts

Hi,

I recently upgraded FusionCharts from 3.2.4 to 3.7.1 and am loving the new support for themes and custom colors and fonts. However, when I select no theme and render a multi-series line or multi-series area graph, no plot data shows, even though it does with FusionCharts 3.2.4 or when a theme like fint, ocean, or zune is selected. I suspect this might be an internal bug, because I have tried altering the FusionCharts JSON for said chart (deleting the theme property, setting the theme property to "standard" or "original", manually setting palette colors), but that didn't help. Below I have pasted the JSON config of the non-rendering 3.7.1 chart and the working/rendering 3.2.4 chart.

 

3.7.1:
"{"chart":{"caption":"New Graph","exportEnabled":"1","exportAtClient":"1","exportHandler":"https://cluster.apridev.info/cb_trunk/webroot/report/exportfusionchart/","exportAction":"download","exportTargetWindow":"_self","exportfilename":"NewGraph","exportparameters":"exportTargetWindow=_self","theme":"standard","canvasPadding":"30","legendAllowDrag":"1","captionFont":"Arial","captionFontSize":"14","captionFontColor":"#000000","outCnvBaseFont":"Arial","outCnvBaseFontSize":"12","outCnvBaseFontColor":"#333333","labelFont":"Arial","labelFontSize":"12","labelFontColor":"#333333","valueFont":"Helvetica","valueFontSize":"12","valueFontColor":"#333333","toolbarX":588},"categories":{"category":[{"label":"1.50"},{"label":"2.00"},{"label":"2.50"},{"label":"3.50"}]},"dataset":[{"seriesName":"Administration","data":[{"showValue":0,"value":"0"},{"value":"14"},{"showValue":0,"value":"0"},{"showValue":0,"value":"0"}]},{"seriesName":"Instruct Classes","data":[{"value":"7"},{"value":"9"},{"showValue":0,"value":"0"},{"showValue":0,"value":"0"}]},{"seriesName":"Mentoring","data":[{"showValue":0,"value":"0"},{"value":"17"},{"showValue":0,"value":"0"},{"showValue":0,"value":"0"}]},{"seriesName":"Resume Building","data":[{"showValue":0,"value":"0"},{"showValue":0,"value":"0"},{"value":"12"},{"showValue":0,"value":"0"}]},{"seriesName":"Special Event","data":[{"showValue":0,"value":"0"},{"showValue":0,"value":"0"},{"showValue":0,"value":"0"},{"value":"36"}]}]}"

 

3.2.4:

"{"chart":{"caption":"New Graph","title_font_type":"Arial","subtitle_font_type":"Arial","axis_labels_font_type":"Arial","data_labels_font_type":"Helvetica","title_font_size":"14","subtitle_font_size":"12","axis_labels_font_size":"12","data_labels_font_size":"12","title_font_color":"#000000","subtitle_font_color":"#000000","axis_labels_font_color":"#333333","data_labels_font_color":"#333333","theme":"standard","canvasPadding":"30","legendAllowDrag":"1"},"categories":{"category":[{"label":"1.50"},{"label":"2.00"},{"label":"2.50"},{"label":"3.50"}]},"dataset":[{"seriesName":"Administration","data":[{"showValue":0,"value":"0"},{"value":"14"},{"showValue":0,"value":"0"},{"showValue":0,"value":"0"}]},{"seriesName":"Instruct Classes","data":[{"value":"7"},{"value":"9"},{"showValue":0,"value":"0"},{"showValue":0,"value":"0"}]},{"seriesName":"Mentoring","data":[{"showValue":0,"value":"0"},{"value":"17"},{"showValue":0,"value":"0"},{"showValue":0,"value":"0"}]},{"seriesName":"Resume Building","data":[{"showValue":0,"value":"0"},{"showValue":0,"value":"0"},{"value":"12"},{"showValue":0,"value":"0"}]},{"seriesName":"Special Event","data":[{"showValue":0,"value":"0"},{"showValue":0,"value":"0"},{"showValue":0,"value":"0"},{"value":"36"}]}]}"

 

Let me know if you need any more info.

Share this post


Link to post
Share on other sites

Hi,

 

Welcome to FusionCharts Forum.

 

In the FusionCharts v3.7.1 shared code, it has not included the square bracket "[" in the category element, due to which the plot is not seen.

 

Refer this link : http://jsfiddle.net/vishalika/Tu57h/45/

 

Also, the data format for each chart type can be referred in this link: http://www.fusioncharts.com/dev/chart-attributes.html?chart=area2d

 

Hope this helps.

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