Class ChartTrendlineLegendItem
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Forms.Chart
Assembly: Syncfusion.Chart.Base.dll
Syntax
public sealed class ChartTrendlineLegendItem : ChartLegendItem, IDisposable
Constructors
ChartTrendlineLegendItem(ChartSeries, Trendline)
Initialize new instance of ChartSeriesLegendItem class.
Declaration
public ChartTrendlineLegendItem(ChartSeries series, Trendline trend)
Parameters
Type | Name | Description |
---|---|---|
ChartSeries | series | |
Trendline | trend |
ChartTrendlineLegendItem(ChartSeries, Trendline, Int32)
Initialize new instance of ChartSeriesLegendItem class.
Declaration
public ChartTrendlineLegendItem(ChartSeries series, Trendline trendline, int index)
Parameters
Type | Name | Description |
---|---|---|
ChartSeries | series | |
Trendline | trendline | |
System.Int32 | index |
Properties
DrawSeriesIcon
Indicates the method for the drawing of legend icon. If true, an icon representing the series type will be rendered.
Declaration
public bool DrawSeriesIcon { get; set; }
Property Value
Type |
---|
System.Boolean |
Trendline
The ChartSeries corresponding to this item.
Declaration
public Trendline Trendline { get; }
Property Value
Type |
---|
Trendline |
Methods
Refresh(Boolean)
Sets settings of item by series.
Declaration
public void Refresh(bool useSeriesStyle)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | useSeriesStyle |
Implements
System.IDisposable