Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

FPM Chart UIBB (Pie)

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.

replied

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

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question