DataPoint Styles include such target properties as BackgroundColor, LineColor, LineStyle, and LineWidth. These properties are applicable to the chart types that are composed of data points - for example, Bar, Column, Pie, Bubble, etc.
This topic uses a report with a Column chart that displays global sales by year.
To change the BackgroundColor target property of the chart, you can add a rule with the following settings.
Property | Value |
RuleDesigner Collection Editor > Condition | =Chart!CurrentData<110 |
RulePropertyDesigner Collection Editor > TargetProperty | BackgroundColor |
RulePropertyDesigner Collection Editor > Value | Green |
At preview, you will see Sales with the data below 110 get the green background color.
Add the LineColor target property to the same condition (see previous image) for the chart with the following settings:
Property | Value |
RulePropertyDesigner Collection Editor > TargetProperty | LineColor |
RulePropertyDesigner Collection Editor > Value | Red |
Add the LineStyle target property to the same condition (see previous image) for the chart with the following settings:
Property | Value |
RulePropertyDesigner Collection Editor > TargetProperty | LineStyle |
RulePropertyDesigner Collection Editor > Value | Double |
Add the LineWidth target property to the same condition (see previous image) for the chart with the following settings:
Property | Value |
RulePropertyDesigner Collection Editor > TargetProperty | LineWidth |
RulePropertyDesigner Collection Editor > Value | 2 |
The final chart looks as follows.