Search code examples
graphicsiccubeiccube-reporting

Value dependent color in IcCube6


How can have the color of a bar to be value dependent in the iccube reporting version 6 ?

enter image description here

enter image description here

I see there is a dialog specifically for that, but not finding what to write inside.


Solution

  • There are couple of opportunities to set value based coloring without javascript expressions :

    Color Palette

    Graph configuration's Color Mode option can be set to "Color Palette" based on cell Values:

    enter image description here

    For charts with large amount of values you might want to use Interpolation:

    enter image description here

    Conditional Coloring (RC 3 feature)

    Conditional coloring can be used for specific values and thresholds:

    enter image description here