Jasper Ideas

[case #1644103]Allow value based color assignment to adhoc chart

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.


  • Tom Chen
  • Mar 31 2021
  • To be Reviewed
Components UI/UX, AdHoc
  • Attach files
  • Guest commented
    13 Mar 14:37

    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.