2D Chart for WinForms | ComponentOne
C1.Win.C1Chart.4.5.2 Assembly / C1.Win.C1Chart Namespace / TrendLine Class / CustomTrendLine Property

In This Topic
    CustomTrendLine Property
    In This Topic
    Gets or sets the object that provides a user-defined calculation of the TrendLine.
    Syntax
    'Declaration
     
    Public Property CustomTrendLine As ICustomTrendLine
    public ICustomTrendLine CustomTrendLine {get; set;}
    Remarks
    To obtain complete control of the TrendLine calculations, a class inheriting from ICustomTrendLine can be implemented and instantiated. After the CustomTrendLine property is set to an instance of such an object, the chart will plot the user-defined TrendLine with the appropriate styles and legend entry.
    See Also