ActiveReports 16 .NET Edition
ActiveReports 16 User Guide / Concepts / Page Report/RDL Report Concepts / Toolbox / Chart / Rules / Customize Chart Appearance / LabelTemplate
In This Topic
    In This Topic

    The LabelTemplate target property allows you to display labels and specify the label format for the chart data that meets the condition of a rule.

    Let's say that you have a chart with a rule to mark data below 110 and you want the chart to display a label for this marked data. To do this, you can add a rule with the following settings.

    Property Value
    RuleDesigner Collection Editor > Condition =Chart!CurrentData<110
    RulePropertyDesigner Collection Editor > TargetProperty LabelTemplate
    RulePropertyDesigner Collection Editor > Value {valueField.value}

    At preview, you will see Sales with the data below 110 marked with the labels. These labels display data values according to the rule you have just set.

    Chart Rules Label Template