Group: Forum Members
Last Active: 7 Years Ago
Posts: 99,
Visits: 654
|
I'm using build 15.8.25.12 for VS2010 on win7: 1) Start the Nevron Chart For Windows Forms example program that comes with the Nevron toolkit 2) Select the All Examples > Chart Gallery > Pie > Exploded Pie example 3) Notice when you press the "Change Data" button on the right that the legend percentages are initially wrong and are then corrected a moment later. 4) Click to show the "Chart Editor" dialog and select the "Pie Chart" panel 5) Set Enable3D to false and you'll see a 2D pie now 6) Press the "Change Data" button again and you'll notice that the legend percentages are always wrong
In my application I'm seeing wrong percentages, the word "infinity", and no percentages at times. I'm assuming what my application is showing is just other derivations of this same problem.
I recently had to change from using a 3D pie to a 2D pie as my application was hanging when specifying a 3D pie (I suspect because OpenGL is not available). I don't mind using a 2D pie but I need these percentages to be correct. I haven't found any way to cause an update that recalculates these percentages. Is there something I can code now while I wait for this bug to be fixed?
Update: I noticed if I call chartControl.Refresh(); chartControl.Update(); chartControl.Refresh(); that this causes the recalculation to be done. This seems to work for me.
|
Group: Forum Members
Last Active: Yesterday @ 1:54 AM
Posts: 3,054,
Visits: 4,009
|
Hi Craig, Thank you for reporting this problem - it was related to a late markup that the data has changed and subsequent late recalculation of the series total value which leads to different percentages. The problem is now fixed and will not appear in the next SP of the control which we'll release by the end of this week. Let us know if you meet any problems or have any questions.
Best Regards, Nevron Support Team
|