In this sample domain chart report:
https://community.jaspersoft.com/wiki/sample-domain-chart-report-using-user-defined-parameter
the pie slice color is set based on chart category value via bucket advance properties. User has requested to make this feature available to JRS adhoc chart.
HighCharts sets chart color through a palette sequence. With this approach, user will not be able to keep a value based chart color due to chart data change (sampling and/or filtering). I am not able to find any HighCharts code sample to set chart color based on chart data values; otherwise, we can simply inject that sample code into adhoc chart color setting through advanced properties.
Components | UI/UX, AdHoc |
Yes, it would really be awesone to set the color based on a field/measure that is not in the serie graphed. It would make the control of the colors represented on graph consistent.