Class SparkLine
Inheritance
System.Object
SparkLine
Assembly: Syncfusion.Chart.Windows.dll
public class SparkLine : Control, ISparkLine
Constructors
Initializes a new instance of the SparkLine class.
Declaration
Fields
Declaration
Field Value
Type |
System.Collections.Generic.List<System.Object> |
Gets or sets the series type of the sparkline control.
Declaration
public SparkLineType m_sparkLineType
Field Value
Properties
Customizes the background color of the control. By default, it is set to White color.
Declaration
public BrushInfo BackInterior { get; set; }
Property Value
Customizes the styles of Column and WinLoss sparklines.
Declaration
public Column ColumnStyle { get; }
Property Value
Used to change Height of Sparkline control.
Declaration
public int ControlHeight { get; }
Property Value
Used to change Width of Sparkline control.
Declaration
public int ControlWidth { get; }
Property Value
Gets or sets the EndPoint of Sparkline control.
Declaration
public double EndPoint { get; set; }
Property Value
Gets or sets the HighPoint of Sparkline control.
Declaration
public double HighPoint { get; set; }
Property Value
Customizes the styles of Line sparkline.
Declaration
public Line LineStyle { get; }
Property Value
Gets or sets the LowPoint of Sparkline control.
Declaration
public double LowPoint { get; set; }
Property Value
Enables the markers support to sparkline.
Declaration
public Markers Markers { get; }
Property Value
Gets or sets the NegativeItem of Sparkline control.
Declaration
public double[] NegativeItem { get; set; }
Property Value
Gets or sets the data source of the Sparkline control.
Declaration
public object Source { get; set; }
Property Value
Gets or sets the StartPoint of Sparkline control.
Declaration
public double StartPoint { get; set; }
Property Value
Gets or sets the series type of Sparkline control.
Declaration
public SparkLineType Type { get; set; }
Property Value
Methods
Clean up any resources being used.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type |
Name |
Description |
System.Boolean |
disposing |
true if managed resources should be disposed; otherwise, false.
|
Declaration
public double GetEndPoint()
Returns
Declaration
public double GetHighPoint()
Returns
Declaration
public double GetLowPoint()
Returns
Declaration
public double[] GetNegativePoint()
Returns
Declaration
public double GetStartPoint()
Returns
Event that is raised when the source list changed.
Declaration
public void OnListChanged(object sender, ListChangedEventArgs e)
Parameters
Type |
Name |
Description |
System.Object |
sender |
|
System.ComponentModel.ListChangedEventArgs |
e |
The System.Windows.Forms.PaintEventArgs instance containing the event data.
|
Overrides the System.Windows.Forms.Control.Paint event.
Declaration
protected override void OnPaint(PaintEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Forms.PaintEventArgs |
e |
A System.Windows.Forms.PaintEventArgs that contains the event data.
|
Used to refresh the SparkLine points.
Declaration
public void ResetPoints()
Implements