I don't have any problems to show the pie chart with assigned colors with the fixed labels by just adding the following line to the Simple XML:
<option name="charting.fieldColors">{"P1":0xFFC000,"P2":0x000000,"P3":0x92D050,"P4":0x7030A0,"P5":0xFF0000}</option>
However, labels are changed by concatenated with count and percentage, for instance, "P1" is now changed to "P1 (count:12, perc: 24%)". I tried using wildcard such as:
<option name="charting.fieldColors">{"P1*":0xFFC000,"P2*":0x000000,"P3*":0x92D050,"P4*":0x7030A0,"P5*":0xFF0000}</option>
but it doesn't work. Does anyone have any clues?
Thanks
... View more