on 01-09-2015 3:46 PM
Hi all,
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.
Regards.
Dario.
Hello Dario,
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.
Best regards,
Christian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.