[]
        
(Showing Draft Content)

C1.Win.Sparkline.C1Sparkline

C1Sparkline Class

A lightweight chart control which represents the general shape of the data variation.

Inheritance
C1Sparkline
Namespace: C1.Win.Sparkline
Assembly: C1.Win.Sparkline.8.dll
Syntax
[ToolboxBitmap(typeof(C1Sparkline), "C1Sparkline.png")]
public class C1Sparkline : Control, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable

Constructors

Name Description
C1Sparkline()

Initializes a new instance of the C1Sparkline class.

Properties

Name Description
Data

Gets or sets the corresponding data.

DefaultSize

Gets the default size of the control.

DisplayXAxis

Gets or sets a value that indicates whether the horizontal axis is displayed.

ShowFirst

Gets or sets a value that indicates whether the first data point is formatted differently.

ShowHigh

Gets or sets a value that specifies whether the data points with the highest value are formatted differently.

ShowLast

Gets or sets a value that indicates whether the last data point is formatted differently.

ShowLow

Gets or sets a value that specifies whether the data points with the lowest value are formatted differently.

ShowMarkers

Gets or sets a value that specifies whether data markers are displayed.

ShowNegative

Gets or sets a value that specifies whether the negative data points are formatted differently.

SparklineType

Gets or sets the type of the sparkline.

Styles

Gets or sets the styles of the sparkline.

Methods

Name Description
Dispose(bool)

Releases the unmanaged resources used by the Control and its child controls and optionally releases the managed resources.

OnPaint(PaintEventArgs)

Raises the Paint event.

OnRightToLeftChanged(EventArgs)

Raises the RightToLeftChanged event.

ResetStyles()
ShouldSerializeStyles()
ShowAboutBox()

Shows the About Box for an instance of C1Sparkline.