cancel
Showing results for 
Search instead for 
Did you mean: 

FPM Chart UIBB (Pie)

former_member452749
Participant
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

former_member193369
Active Participant
0 Kudos

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

former_member452749
Participant
0 Kudos

Thank you very much Christian.

The pie chart works perfectly.

Regards.

Dario.

Answers (0)