Magic zeros in Piechart and Legendissues

Jun 13, 2013 at 12:06 PM
Edited Jun 13, 2013 at 12:07 PM
Hey,

How do i fix those errors marked in the screenshot?

Problem with charts

Link to picture

Regards,
Xenolith
Coordinator
Jun 13, 2013 at 12:53 PM
Hi,

the "0" values in the piechart are not intended. It is a bug and will be fixed.

The problem with the legend should also not happen and I will check this.
In the mean you could try to set the width of the chart to a fixed value (e.g. "800"). Maybe this helps the legend items to measure their own width better.

Cheers,
Torsten
Jun 13, 2013 at 2:44 PM
Thank you!

Should i provide you with an demo project to reproduce this behavior or is this error known to you anyway?
Jun 14, 2013 at 1:05 PM
I get a bunch of binding errors in the output window, my guess would be that they are related to the Legend display bug.

Here the binding error:
System.Windows.Data Error: 40 : BindingExpression path error: 'ChartLegendItemStyle' property not found on 'object' ''ContentPresenter' (Name='')'. BindingExpression:Path=ChartLegendItemStyle; DataItem='ContentPresenter' (Name=''); target element is 'ChartLegendItem' (Name=''); target property is 'Style' (type 'Style')
Dec 7, 2013 at 4:56 PM
I receive this error too, (either 0 and ChartLegendItemStyle errors)
Mar 18, 2014 at 3:53 PM
Did anyone get to the bottom of this as im getting this bind error too
Oct 21, 2015 at 1:36 PM
I am getting this error too. Anyone figured out what it is, by now?