Customize colors Pie Chart

Stimulsoft Reports.NET discussion
Post Reply
MaNe
Posts: 11
Joined: Mon Dec 21, 2015 12:12 pm

Customize colors Pie Chart

Post by MaNe »

(Version: 2012.3)

Hello,

I'd like to have different colors.
My diagram counts how often different "risk-categories" occur (for example critical errors).
The differrent categories have well defined colors (critical = red etc.).
I got a solution which uses different customized data rows
2015-12-21 13_39_09-Reihen Editor.png
2015-12-21 13_39_09-Reihen Editor.png (72 KiB) Viewed 2095 times
This works very well if i got minimum 2 different risk-categories
2015-12-21 13_41_55-RiskReport.mrt - Designer.png
2015-12-21 13_41_55-RiskReport.mrt - Designer.png (14.18 KiB) Viewed 2095 times
But if i got only one
2015-12-21 13_44_42-RiskReport.mrt - Designer.png
2015-12-21 13_44_42-RiskReport.mrt - Designer.png (11.63 KiB) Viewed 2095 times
The designer use the color of the style(but the usage of styles is deactivated).
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Customize colors Pie Chart

Post by HighAley »

Hello.

There was such issue in charts.
It was fixed some time ago.
Could you try our latest build?

Thank you.
MaNe
Posts: 11
Joined: Mon Dec 21, 2015 12:12 pm

Re: Customize colors Pie Chart

Post by MaNe »

Hello,

we updated to verison 2015.3.
The behaviour changed a little bit. It looks now
piechart.png
piechart.png (12.1 KiB) Viewed 2065 times
This grey is one of my defined colors but in this case for the wrong risk class.
This problem occur only if i got only one data set. See attachment (wide screenshot)
pie2.png
pie2.png (75.58 KiB) Viewed 2065 times
Thank you
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Customize colors Pie Chart

Post by HighAley »

Hello.

Please, send us your report template with sample data that reproduces the issue.

Thank you
MaNe
Posts: 11
Joined: Mon Dec 21, 2015 12:12 pm

Re: Customize colors Pie Chart

Post by MaNe »

Hi,
you can use the report + test data from this thread
http://forum.stimulsoft.com/viewtopic.php?f=8&t=42501

Thank you
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Customize colors Pie Chart

Post by HighAley »

Hello.

Please, add a chart style with necessary colors and apply it to the chart.
Don't forget to change the Allow apply brush property.

Thank you.
Post Reply