FPM Chart UIBB (Pie)
i have created a new configuration for component FPM_CHART_UIBB with corresponding type "PIE".
The result data is correct, but i need to change color palette for a particular value in my internal table. Is it possible to change it?
My table example is :
CODE PERCENTANGE (%)
L (in late) 55
D (to do) 35
C (complete) 10
In my pie chart type i would like to show the following colors :
L --> Red
D --> Yellow
C --> Green
Thanks in advance.
Christian Guenther replied
you can change the colors in the configuration via 'General Settings' -> 'Plot Area' -> 'Color Palette'.
There a JSON formatted array of the colors is expected. F.e.: ["red","yellow","green"] will make the first slice red, the second yellow and the third green (You can also use RGB values so ["#FF0000","#FFFF00","#00FF00"] will do the same).
You can't assign a color to a specific value, therefore you have to assure that the data is provided in the correct order, so that the colors match.