[]
        
(Showing Draft Content)

C1.WPF.Sparkline.C1Sparkline

C1Sparkline Class

Represents the Sparkline object.

Namespace: C1.WPF.Sparkline
Assembly: C1.WPF.Sparkline.4.6.2.dll
Syntax
[TemplatePart(Name = "Root", Type = typeof(Border))]
public class C1Sparkline : Control, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient

Constructors

Name Description
C1Sparkline()

Initializes a new instance of a C1Sparkline.

Fields

Name Description
AxisColorProperty

Identifies the AxisColor dependency property.

DataProperty

Identifies the Data dependency property.

DateAxisDataProperty

Identifies the DateAxisData dependency property.

DisplayEmptyCellsAsProperty

Identifies the DisplayEmptyCellsAs dependency property.

DisplayHiddenProperty

Identifies the DisplayHidden dependency property.

DisplayXAxisProperty

Identifies the DisplayXAxis dependency property.

FirstMarkerColorProperty

Identifies the FirstMarkerColor dependency property.

HighMarkerColorProperty

Identifies the HighMarkerColor dependency property.

LastMarkerColorProperty

Identifies the LastMarkerColor dependency property.

LineWeightProperty

Identifies the LineWeight dependency property.

LowMarkerColorProperty

Identifies the LowMarkerColor dependency property.

ManualMaxProperty

Identifies the ManualMax dependency property.

ManualMinProperty

Identifies the ManualMin dependency property.

MarkersColorProperty

Identifies the MarkersColor dependency property.

MaxAxisTypeProperty

Identifies the MaxAxisType dependency property.

MinAxisTypeProperty

Identifies the MinAxisType dependency property.

NegativeColorProperty

Identifies the NegativeColor dependency property.

RightToLeftProperty

Identifies the RightToLeft dependency property.

SeriesColorProperty

Identifies the SeriesColor dependency property.

ShowFirstProperty

Identifies the ShowFirst dependency property.

ShowHighProperty

Identifies the ShowHigh dependency property.

ShowLastProperty

Identifies the ShowLast dependency property.

ShowLowProperty

Identifies the ShowLow dependency property.

ShowMarkersProperty

Identifies the ShowMarkers dependency property.

ShowNegativeProperty

Identifies the ShowNegative dependency property.

SparklineTypeProperty

Identifies the SparklineType dependency property.

Properties

Name Description
AxisColor

Gets or sets the color of the axis.

Data

Gets or sets the data object.

DateAxisData

Gets or sets the date axis data object.

DisplayDateAxis

Gets a value that indicates whether to display the date axis.

DisplayEmptyCellsAs

Gets or sets how to display the empty cells.

DisplayHidden

Gets or sets a value that indicates whether data in hidden cells is plotted for the sparklines in this sparkline group.

DisplayXAxis

Gets or sets a value that indicates whether the horizontal axis is displayed for each sparkline in this sparkline group.

FirstMarkerColor

Gets or sets the color of the first data point for each sparkline in this sparkline group.

HighMarkerColor

Gets or sets the color of the highest data point for each sparkline in this sparkline group.

LastMarkerColor

Gets or sets the color of the last data point for each sparkline in this sparkline group.

LineWeight

Gets or sets a value that specifies the line weight for each sparkline in the sparkline group, where the line weight is measured in points. The weight must be greater than or equal to zero, and must be less than or equal to 3 (LineSeries only supports line weight values in the range of 0.0->3.0).

LowMarkerColor

Gets or sets the color of the lowest data point for each sparkline in this sparkline group.

ManualMax

Gets or sets a value that specifies the maximum for the vertical axis that is shared across all sparklines in this sparkline group. The axis is zero if maxAxisType does not equal custom.

ManualMin

Gets or sets a value that specifies the minimum for the vertical axis that is shared across all sparklines in this sparkline group. The axis is zero if minAxisType does not equal custom.

MarkersColor

Gets or sets a value that specifies the color of the data markers for each sparkline in this sparkline group.

MaxAxisType

Gets or sets a value that specifies how the vertical axis maximum is calculated for the sparklines in this sparkline group.

MinAxisType

Gets or sets a value that specifies how the vertical axis minimum is calculated for the sparklines in this sparkline group.

NegativeColor

Gets or sets a value that specifies the color of the negative data points for each sparkline in this sparkline group.

RightToLeft

Gets or sets a value that specifies whether each sparkline in the sparkline group is displayed in a right-to-left manner.

SeriesColor

Gets or sets a value that specifies the color for each sparkline in this sparkline group.

ShowFirst

Gets or sets a value that indicates whether the first data point is formatted differently for each sparkline in this sparkline group.

ShowHigh

Gets or sets a value that specifies whether the data points with the highest value are formatted differently for each sparkline in this sparkline group.

ShowLast

Gets or sets a value that indicates whether the last data point is formatted differently for each sparkline in this sparkline group.

ShowLow

Gets or sets a value that specifies whether the data points with the lowest value are formatted differently for each sparkline in this sparkline group.

ShowMarkers

Gets or sets a value that specifies whether data markers are displayed for each sparkline in this sparkline group.

ShowNegative

Gets or sets a value that specifies whether the negative data points are formatted differently for each sparkline in this sparkline group.

SparklineType

Gets or sets the type of the sparkline.

Methods

Name Description
ArrangeOverride(Size)
MeasureOverride(Size)
OnApplyTemplate()

Builds the visual tree for the C1Sparkline control when a new template is applied.

Events

Name Description
SparklineChanged

Occurs when the sparkline has changed.