TeeChart - Dynamic (Custom) Colors for PieChart
Posted: Thu Apr 07, 2022 6:43 am
Hi
I have a piechart linked to a dataset. (Dynamic) I need to change the colors of the PieChart at runtime within the Report itself based on a specific set of colors for the report (which is dependent on the specifc organization - each organization wants to define their specific colors). None of the standard colors is acceptable to my client.
For instance the colors colors are blue/orange (Only two values) but I need to make each slice (Value) of the Pie Chart a very specific color - it might or might not have to relate to the specific value in that slice.
I have a piechart linked to a dataset. (Dynamic) I need to change the colors of the PieChart at runtime within the Report itself based on a specific set of colors for the report (which is dependent on the specifc organization - each organization wants to define their specific colors). None of the standard colors is acceptable to my client.
For instance the colors colors are blue/orange (Only two values) but I need to make each slice (Value) of the Pie Chart a very specific color - it might or might not have to relate to the specific value in that slice.