What is Color Binding

Instead of static colors, a series color can be calculated using a condition based on the data.
With Color Bindings, you configure a condition, so that when Field = Value then the color is applied.


On a Column Chart with a blue series :

Chart ColorBinding runtime before

… you want the color to become red in some conditions :

Chart ColorBinding runtime after

Enabling Color Binding

Edit the Series Settings, in tab Advanced, check Color Bindings to enable the feature :

Chart ColorBinding enable

Selecting a field

Select a Color Field from the existing fields in the chart query, or click the + icon to add a new aggregated field to the query :

Chart ColorBinding field add

Select the desired aggregation and field, and click the check icon to validate :

Chart ColorBinding field validate

Managing conditions

Based on the selected field, several conditions can be configured : Field = Value1, Field = Value2, …

Adding a condition

Click the + icon on top of the list to add a condition :

Chart ColorBinding condition add

Configuring a condition

Configure a Data Value and a Target Color so that when Field = DataValue, then the color of the series turns into Target Color :

Chart ColorBinding condition configure

Removing a condition

If you wish to remove a condition from the list, select it by clicking it, then remove it using the trash icon :

Chart ColorBinding condition remove

Supported Chart Types

Some Chart Types like Line only show this value color when Show Marker is configured.

The following chart types don’t support value color binding :

  • Spline
  • Step Line
  • Area, Stacked Area, 100% Stacked Area
  • Spline Area
  • Step Area
  • Bubble
  • Scatter
  • Range Area
  • Hi Lo
  • Hi Lo Open CLose
  • Candle
  • Waterfall
Last modified: Sep 13, 2021


Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Post Comment