Class Chart
Implements Chart data visualization control
Inherited Members
Namespace: EmptyKeys.UserInterface.Charts
Assembly: EmptyKeys.UserInterface.dll
Syntax
public class Chart : Control
Constructors
Chart()
Initializes a new instance of the Chart class.
Declaration
public Chart()
Fields
AxisBrushProperty
The axis brush property
Declaration
public static readonly DependencyProperty AxisBrushProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
AxisInterlacedBrushProperty
The axis interlaced brush property
Declaration
public static readonly DependencyProperty AxisInterlacedBrushProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
AxisInterlacedProperty
The axis interlaced property
Declaration
public static readonly DependencyProperty AxisInterlacedProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
AxisLabelFormatProperty
The axis label format property
Declaration
public static readonly DependencyProperty AxisLabelFormatProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
AxisLabelMarginProperty
The axis label margin property
Declaration
public static readonly DependencyProperty AxisLabelMarginProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
AxisLabelsVisibleProperty
The axis labels visible property
Declaration
public static readonly DependencyProperty AxisLabelsVisibleProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
AxisThicknessProperty
The axis thickness property
Declaration
public static readonly DependencyProperty AxisThicknessProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
AxisVisibleProperty
The axis visible property
Declaration
public static readonly DependencyProperty AxisVisibleProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
AxisXMajorUnitProperty
The axis x major unit property
Declaration
public static readonly DependencyProperty AxisXMajorUnitProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
AxisYMajorUnitProperty
The axis y major unit
Declaration
public static readonly DependencyProperty AxisYMajorUnitProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
CursorLinesBrushProperty
The cursor lines brush property
Declaration
public static readonly DependencyProperty CursorLinesBrushProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
CursorLinesEnabledProperty
The cursor lines enabled property
Declaration
public static readonly DependencyProperty CursorLinesEnabledProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
SeriesProperty
The series property
Declaration
public static readonly DependencyProperty SeriesProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
TickmarkLengthProperty
The tickmark length property
Declaration
public static readonly DependencyProperty TickmarkLengthProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
TickmarkThicknessProperty
The tickmark thickness property
Declaration
public static readonly DependencyProperty TickmarkThicknessProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
Properties
AxisBrush
Gets or sets the axis brush.
Declaration
public Brush AxisBrush { get; set; }
Property Value
Type | Description |
---|---|
Brush | The axis brush. |
AxisInterlaced
Gets or sets a value indicating whether [axis interlaced].
Declaration
public bool AxisInterlaced { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
AxisInterlacedBrush
Gets or sets the axis interlaced brush.
Declaration
public Brush AxisInterlacedBrush { get; set; }
Property Value
Type | Description |
---|---|
Brush | The axis interlaced brush. |
AxisLabelFormat
Gets or sets the axis label format.
Declaration
public string AxisLabelFormat { get; set; }
Property Value
Type | Description |
---|---|
System.String | The axis label format. |
AxisLabelMargin
Gets or sets the axis label margin.
Declaration
public float AxisLabelMargin { get; set; }
Property Value
Type | Description |
---|---|
System.Single | The axis label margin. |
AxisLabelsVisible
Gets or sets a value indicating whether [axis labels visible].
Declaration
public bool AxisLabelsVisible { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
AxisThickness
Gets or sets the axis thickness.
Declaration
public float AxisThickness { get; set; }
Property Value
Type | Description |
---|---|
System.Single | The axis thickness. |
AxisVisible
Gets or sets a value indicating whether [axis visible].
Declaration
public bool AxisVisible { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
AxisXMajorUnit
Gets or sets the axis x major unit.
Declaration
public float AxisXMajorUnit { get; set; }
Property Value
Type | Description |
---|---|
System.Single | The axis x major unit. |
AxisYMajorUnit
Gets or sets the axis y major unit.
Declaration
public float AxisYMajorUnit { get; set; }
Property Value
Type | Description |
---|---|
System.Single | The axis y major unit. |
CursorLinesBrush
Gets or sets the cursor lines brush.
Declaration
public Brush CursorLinesBrush { get; set; }
Property Value
Type | Description |
---|---|
Brush | The cursor lines brush. |
CursorLinesEnabled
Gets or sets a value indicating whether [cursor lines enabled].
Declaration
public bool CursorLinesEnabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Series
Gets or sets the series.
Declaration
public UIElementCollection Series { get; set; }
Property Value
Type | Description |
---|---|
UIElementCollection | The series. |
TickmarkLength
Gets or sets the length of the tickmark.
Declaration
public float TickmarkLength { get; set; }
Property Value
Type | Description |
---|---|
System.Single | The length of the tickmark. |
TickmarkThickness
Gets or sets the tickmark thickness.
Declaration
public float TickmarkThickness { get; set; }
Property Value
Type | Description |
---|---|
System.Single | The tickmark thickness. |
Methods
ArrangeOverride(Size)
Arrange layout pass - overrider method for children
Declaration
protected override Size ArrangeOverride(Size finalSize)
Parameters
Type | Name | Description |
---|---|---|
EmptyKeys.UserInterface.Size | finalSize | The final size. |
Returns
Type | Description |
---|---|
EmptyKeys.UserInterface.Size |
Overrides
MeasureOverride(Size)
Measure layout pass
Declaration
protected override Size MeasureOverride(Size availableSize)
Parameters
Type | Name | Description |
---|---|---|
EmptyKeys.UserInterface.Size | availableSize | available size for element |
Returns
Type | Description |
---|---|
EmptyKeys.UserInterface.Size |
Overrides
OnApplyTemplate()
Called when [apply template].
Declaration
public override void OnApplyTemplate()
Overrides
OnDraw(Renderer, Double, Single)
Called when [draw].
Declaration
protected override void OnDraw(Renderer spriterenderer, double elapsedGameTime, float opacity)
Parameters
Type | Name | Description |
---|---|---|
EmptyKeys.UserInterface.Renderers.Renderer | spriterenderer | The sprite renderer. |
System.Double | elapsedGameTime | The elapsed game time. |
System.Single | opacity | The opacity. |