Pie chart legend does not match colours used

Stimulsoft Ultimate discussion
Post Reply
erobso
Posts: 8
Joined: Fri Feb 21, 2020 10:07 am

Pie chart legend does not match colours used

Post by erobso »

Hello,

In version 2020.4.2, when creating a PDF from one of our templates, we have noticed an issue where the colour of the legend used on two pie charts does not match the colours used on the pie chart.

The charts are both using a single series of 7 values/arguments to the charts, some of which will be null or zero. The null/zero ones will be hidden on the chart and legend, however while the chart correctly tracks the appropriate colour from the assigned styling, the legend does not.
stimulsoftpiechartexample.png
stimulsoftpiechartexample.png (12.49 KiB) Viewed 2155 times
Above is an (anonymised) example from a report with this issue - seven data items labelled 1-7 have been entered, with 3,4,6 and 7 all have a value of 0 and thus not being shown. Items 1,2 and 5 are correctly shown in the chart, with the correct colours from the styling, but the legend is instead showing the colours from the first three items (1,2 and 3) rather than the three items shown (1,2 and 5).

Reverting to 2020.4.1.1 has corrected the issue for now.

Please let me know if there's any further details I can provide.
Lech Kulikowski
Posts: 6198
Joined: Tue Mar 20, 2018 5:34 am

Re: Pie chart legend does not match colours used

Post by Lech Kulikowski »

Hello,

Please send us a sample report with test data that reproduces the issue for analysis.

Thank you.
Post Reply