PaulK

showZeroPies crashes with larger amount of labels

Recommended Posts

Hi,

just implemented the new attribute 'showZeroPies' for my doughnut2d charts.

Switching between on and off works well with a small amount of labels, in most of my cases 2-4.

But there is one chart with 21 labels, where always switching from showZeroPies=1 to showZeroPies=0 crashes with error shown in the attached images.

I'm implementing in Angular 6 and Fusioncharts 3.13.2-sr.1.

Switching showZeroPies is done with 'chart.setChartAttribute('showZeroPies', '{0|1}')' where 'chart' object is obtained from fusioncharts' component 'initialized' output property.

Regards,

Paul

 

stacktrace_fus_showZeroPies.PNG

Share this post


Link to post
Share on other sites

Hi,

chart.setChartAttribute('showZeroPies', '{0|1}')' --> setChartAttribute method can have one key value as a pair , for example chart.setChartAttribute('showZeroPies', '0')

Kindly upgrade to the latest version of FusionCharts 3.15.1-sr.1 and let me know if you are still facing the problem.

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