You can use the Series.DataPointConditionalFormatting
to change colors based on data. For example check the attached demo report in the Standalone Report Designer of Telerik Reporting R2 2017.
There is a conditional formatting with the following rule based on data and the Exec data function
that evaluates the expression in a specific scope:
Exec('catGroup',Sum(IIf(Fields.ser='ser1',Fields.val,0))) > Exec('catGroup',Sum(IIf(Fields.ser='ser2',Fields.val,0)))
'catGroup' is the name of the CategoryGroup of the series, the one that defines slots on the X axis.
Please note that this may lead to ambiguity due to the colors used in the legend. There is conditional formatting on Series.LegendItem.MarkerConditionalFormatting
, but bars can still be colored differently.
Telerik by Progress
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Telerik Feedback Portal
and vote to affect the priority of the items