C# Class LiveCharts.Uwp.Axis

An Axis of a chart
Inheritance: Windows.UI.Xaml.FrameworkElement, IAxisView
Show file Open project: beto-rodriguez/Live-Charts

Public Properties

Property Type Description
AxisOrientationProperty Windows.UI.Xaml.DependencyProperty
BarUnitProperty Windows.UI.Xaml.DependencyProperty
DisableAnimationsProperty Windows.UI.Xaml.DependencyProperty
FontFamilyProperty Windows.UI.Xaml.DependencyProperty
FontSizeProperty Windows.UI.Xaml.DependencyProperty
FontStretchProperty Windows.UI.Xaml.DependencyProperty
FontStyleProperty Windows.UI.Xaml.DependencyProperty
FontWeightProperty Windows.UI.Xaml.DependencyProperty
ForegroundProperty Windows.UI.Xaml.DependencyProperty
IsEnabledProperty Windows.UI.Xaml.DependencyProperty
IsMergedProperty Windows.UI.Xaml.DependencyProperty
LabelFormatterProperty Windows.UI.Xaml.DependencyProperty
LabelsProperty Windows.UI.Xaml.DependencyProperty
LabelsRotationProperty Windows.UI.Xaml.DependencyProperty
MaxRangeProperty Windows.UI.Xaml.DependencyProperty
MaxValueProperty Windows.UI.Xaml.DependencyProperty
MinRangeProperty Windows.UI.Xaml.DependencyProperty
MinValueProperty Windows.UI.Xaml.DependencyProperty
PositionProperty Windows.UI.Xaml.DependencyProperty
SectionsProperty Windows.UI.Xaml.DependencyProperty
SeparatorProperty Windows.UI.Xaml.DependencyProperty
ShowLabelsProperty Windows.UI.Xaml.DependencyProperty
TitleProperty Windows.UI.Xaml.DependencyProperty

Private Properties

Property Type Description
BindALine Line
BindATextBlock Windows.UI.Xaml.Controls.TextBlock
LabelsVisibilityChanged void
UpdateChart PropertyChangedCallback

Public Methods

Method Description
AsCoreElement ( ChartCore chart, AxisOrientation source ) : AxisCore

Ases the core element.

Axis ( ) : System

Initializes a new instance of Axis class

Clean ( ) : void

Cleans this instance.

GetLabelSize ( ) : LiveCharts.Dtos.CoreSize

Gets the size of the label.

GetTileTop ( ) : double

Gets the tile top.

GetTitleLeft ( ) : double

Gets the title left.

RenderSeparator ( SeparatorElementCore model, ChartCore chart ) : void

Renders the separator.

SetRange ( double min, double max ) : void

Sets the range.

SetTitleLeft ( double value ) : void

Sets the title left.

SetTitleTop ( double value ) : void

Sets the title top.

UpdateTitle ( ChartCore chart, double rotationAngle ) : LiveCharts.Dtos.CoreSize

Updates the title.

Protected Methods

Method Description
OnRangeChanged ( RangeChangedEventArgs e ) : void

Raises the E:RangeChanged event.

Private Methods

Method Description
BindALine ( ) : Line
BindATextBlock ( ) : TextBlock
LabelsVisibilityChanged ( DependencyObject dependencyObject, DependencyPropertyChangedEventArgs dependencyPropertyChangedEventArgs ) : void
UpdateChart ( bool animate = false, bool updateNow = false ) : PropertyChangedCallback

Method Details

AsCoreElement() public method

Ases the core element.
public AsCoreElement ( ChartCore chart, AxisOrientation source ) : AxisCore
chart LiveCharts.Charts.ChartCore The chart.
source AxisOrientation The source.
return AxisCore

Axis() public method

Initializes a new instance of Axis class
public Axis ( ) : System
return System

Clean() public method

Cleans this instance.
public Clean ( ) : void
return void

GetLabelSize() public method

Gets the size of the label.
public GetLabelSize ( ) : LiveCharts.Dtos.CoreSize
return LiveCharts.Dtos.CoreSize

GetTileTop() public method

Gets the tile top.
public GetTileTop ( ) : double
return double

GetTitleLeft() public method

Gets the title left.
public GetTitleLeft ( ) : double
return double

OnRangeChanged() protected method

Raises the E:RangeChanged event.
protected OnRangeChanged ( RangeChangedEventArgs e ) : void
e LiveCharts.Events.RangeChangedEventArgs The instance containing the event data.
return void

RenderSeparator() public method

Renders the separator.
public RenderSeparator ( SeparatorElementCore model, ChartCore chart ) : void
model SeparatorElementCore The model.
chart LiveCharts.Charts.ChartCore The chart.
return void

SetRange() public method

Sets the range.
public SetRange ( double min, double max ) : void
min double The minimum.
max double The maximum.
return void

SetTitleLeft() public method

Sets the title left.
public SetTitleLeft ( double value ) : void
value double The value.
return void

SetTitleTop() public method

Sets the title top.
public SetTitleTop ( double value ) : void
value double The value.
return void

UpdateTitle() public method

Updates the title.
public UpdateTitle ( ChartCore chart, double rotationAngle ) : LiveCharts.Dtos.CoreSize
chart LiveCharts.Charts.ChartCore The chart.
rotationAngle double The rotation angle.
return LiveCharts.Dtos.CoreSize

Property Details

AxisOrientationProperty public static property

The axis orientation property
public static DependencyProperty,Windows.UI.Xaml AxisOrientationProperty
return Windows.UI.Xaml.DependencyProperty

BarUnitProperty public static property

The bar unit property
public static DependencyProperty,Windows.UI.Xaml BarUnitProperty
return Windows.UI.Xaml.DependencyProperty

DisableAnimationsProperty public static property

The disable animations property
public static DependencyProperty,Windows.UI.Xaml DisableAnimationsProperty
return Windows.UI.Xaml.DependencyProperty

FontFamilyProperty public static property

The font family property
public static DependencyProperty,Windows.UI.Xaml FontFamilyProperty
return Windows.UI.Xaml.DependencyProperty

FontSizeProperty public static property

The font size property
public static DependencyProperty,Windows.UI.Xaml FontSizeProperty
return Windows.UI.Xaml.DependencyProperty

FontStretchProperty public static property

The font stretch property
public static DependencyProperty,Windows.UI.Xaml FontStretchProperty
return Windows.UI.Xaml.DependencyProperty

FontStyleProperty public static property

The font style property
public static DependencyProperty,Windows.UI.Xaml FontStyleProperty
return Windows.UI.Xaml.DependencyProperty

FontWeightProperty public static property

The font weight property
public static DependencyProperty,Windows.UI.Xaml FontWeightProperty
return Windows.UI.Xaml.DependencyProperty

ForegroundProperty public static property

The foreground property
public static DependencyProperty,Windows.UI.Xaml ForegroundProperty
return Windows.UI.Xaml.DependencyProperty

IsEnabledProperty public static property

The is enabled property
public static DependencyProperty,Windows.UI.Xaml IsEnabledProperty
return Windows.UI.Xaml.DependencyProperty

IsMergedProperty public static property

The is merged property
public static DependencyProperty,Windows.UI.Xaml IsMergedProperty
return Windows.UI.Xaml.DependencyProperty

LabelFormatterProperty public static property

The label formatter property
public static DependencyProperty,Windows.UI.Xaml LabelFormatterProperty
return Windows.UI.Xaml.DependencyProperty

LabelsProperty public static property

The labels property
public static DependencyProperty,Windows.UI.Xaml LabelsProperty
return Windows.UI.Xaml.DependencyProperty

LabelsRotationProperty public static property

The labels rotation property
public static DependencyProperty,Windows.UI.Xaml LabelsRotationProperty
return Windows.UI.Xaml.DependencyProperty

MaxRangeProperty public static property

The maximum range property
public static DependencyProperty,Windows.UI.Xaml MaxRangeProperty
return Windows.UI.Xaml.DependencyProperty

MaxValueProperty public static property

The maximum value property
public static DependencyProperty,Windows.UI.Xaml MaxValueProperty
return Windows.UI.Xaml.DependencyProperty

MinRangeProperty public static property

The minimum range property
public static DependencyProperty,Windows.UI.Xaml MinRangeProperty
return Windows.UI.Xaml.DependencyProperty

MinValueProperty public static property

The minimum value property
public static DependencyProperty,Windows.UI.Xaml MinValueProperty
return Windows.UI.Xaml.DependencyProperty

PositionProperty public static property

The position property
public static DependencyProperty,Windows.UI.Xaml PositionProperty
return Windows.UI.Xaml.DependencyProperty

SectionsProperty public static property

The sections property
public static DependencyProperty,Windows.UI.Xaml SectionsProperty
return Windows.UI.Xaml.DependencyProperty

SeparatorProperty public static property

The separator property
public static DependencyProperty,Windows.UI.Xaml SeparatorProperty
return Windows.UI.Xaml.DependencyProperty

ShowLabelsProperty public static property

The show labels property
public static DependencyProperty,Windows.UI.Xaml ShowLabelsProperty
return Windows.UI.Xaml.DependencyProperty

TitleProperty public static property

The title property
public static DependencyProperty,Windows.UI.Xaml TitleProperty
return Windows.UI.Xaml.DependencyProperty