ActiveReports 16 .NET Edition
ActiveReports 16 User Guide / Concepts / Page Report/RDL Report Concepts / Toolbox / Chart / Trendlines / Reference Line
In This Topic
    Reference Line
    In This Topic

    A Reference Line is a static line, drawn at a single point along a single axis that stretches indefinitely along the opposite axis. You can set the line's position or have it calculated by the data set. For example, you may want to add a reference line at the average value to see how each value is compared against the average. 

    Property Description
    Aggregate Type Sets the reference line aggregation fuction. Select from Sum, Count, Average, Max, Min, Median, and Percentile.
    Axis Specifies the axis to which the reference line belongs. Select from X or Y.
    DetailLevel Specifies if the overlay calculation should include the entire data set or each detail group. Select from Total or Group.
    FieldName Sets the field name for the reference line to use.
    LegendLabel Sets the legend label of the reference line.
    Value Sets the position of the specified axis.

    Display

    Sets the display position. Select from Front or Back.

    Name

    Enter the name of the trendline.
    Type Select the type of the trendline from the list of available types.
    LineStyle Sets the style of the line. Select the LineColor, LineStyle and LineWidth properties of the line.


    Chart Trendlines - Reference Line

    In the OverlayDesigner Collection Editor, you can set a Reference Line with the properties as follows.

    Property Value
    LineStyle > LineColor Red
    LineStyle > LineStyle Solid
    LineStyle > LineWidth 3pt
    Configurations > AggregateType Average
    Configurations > Axis Y
    Configurations > DetailLevel Total
    Configurations > LegendLabel Average
    General > Display Front
    General > Type ReferenceLine