C# Class LiveCharts.Uwp.Axis

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

Méthodes publiques

Свойство 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

Свойство Type Description
BindALine Line
BindATextBlock Windows.UI.Xaml.Controls.TextBlock
LabelsVisibilityChanged void
UpdateChart PropertyChangedCallback

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode Description
OnRangeChanged ( RangeChangedEventArgs e ) : void

Raises the E:RangeChanged event.

Private Methods

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

Method Details

AsCoreElement() public méthode

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

Axis() public méthode

Initializes a new instance of Axis class
public Axis ( ) : System
Résultat System

Clean() public méthode

Cleans this instance.
public Clean ( ) : void
Résultat void

GetLabelSize() public méthode

Gets the size of the label.
public GetLabelSize ( ) : LiveCharts.Dtos.CoreSize
Résultat LiveCharts.Dtos.CoreSize

GetTileTop() public méthode

Gets the tile top.
public GetTileTop ( ) : double
Résultat double

GetTitleLeft() public méthode

Gets the title left.
public GetTitleLeft ( ) : double
Résultat double

OnRangeChanged() protected méthode

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

RenderSeparator() public méthode

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

SetRange() public méthode

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

SetTitleLeft() public méthode

Sets the title left.
public SetTitleLeft ( double value ) : void
value double The value.
Résultat void

SetTitleTop() public méthode

Sets the title top.
public SetTitleTop ( double value ) : void
value double The value.
Résultat void

UpdateTitle() public méthode

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

Property Details

AxisOrientationProperty public_oe static_oe property

The axis orientation property
public static DependencyProperty,Windows.UI.Xaml AxisOrientationProperty
Résultat Windows.UI.Xaml.DependencyProperty

BarUnitProperty public_oe static_oe property

The bar unit property
public static DependencyProperty,Windows.UI.Xaml BarUnitProperty
Résultat Windows.UI.Xaml.DependencyProperty

DisableAnimationsProperty public_oe static_oe property

The disable animations property
public static DependencyProperty,Windows.UI.Xaml DisableAnimationsProperty
Résultat Windows.UI.Xaml.DependencyProperty

FontFamilyProperty public_oe static_oe property

The font family property
public static DependencyProperty,Windows.UI.Xaml FontFamilyProperty
Résultat Windows.UI.Xaml.DependencyProperty

FontSizeProperty public_oe static_oe property

The font size property
public static DependencyProperty,Windows.UI.Xaml FontSizeProperty
Résultat Windows.UI.Xaml.DependencyProperty

FontStretchProperty public_oe static_oe property

The font stretch property
public static DependencyProperty,Windows.UI.Xaml FontStretchProperty
Résultat Windows.UI.Xaml.DependencyProperty

FontStyleProperty public_oe static_oe property

The font style property
public static DependencyProperty,Windows.UI.Xaml FontStyleProperty
Résultat Windows.UI.Xaml.DependencyProperty

FontWeightProperty public_oe static_oe property

The font weight property
public static DependencyProperty,Windows.UI.Xaml FontWeightProperty
Résultat Windows.UI.Xaml.DependencyProperty

ForegroundProperty public_oe static_oe property

The foreground property
public static DependencyProperty,Windows.UI.Xaml ForegroundProperty
Résultat Windows.UI.Xaml.DependencyProperty

IsEnabledProperty public_oe static_oe property

The is enabled property
public static DependencyProperty,Windows.UI.Xaml IsEnabledProperty
Résultat Windows.UI.Xaml.DependencyProperty

IsMergedProperty public_oe static_oe property

The is merged property
public static DependencyProperty,Windows.UI.Xaml IsMergedProperty
Résultat Windows.UI.Xaml.DependencyProperty

LabelFormatterProperty public_oe static_oe property

The label formatter property
public static DependencyProperty,Windows.UI.Xaml LabelFormatterProperty
Résultat Windows.UI.Xaml.DependencyProperty

LabelsProperty public_oe static_oe property

The labels property
public static DependencyProperty,Windows.UI.Xaml LabelsProperty
Résultat Windows.UI.Xaml.DependencyProperty

LabelsRotationProperty public_oe static_oe property

The labels rotation property
public static DependencyProperty,Windows.UI.Xaml LabelsRotationProperty
Résultat Windows.UI.Xaml.DependencyProperty

MaxRangeProperty public_oe static_oe property

The maximum range property
public static DependencyProperty,Windows.UI.Xaml MaxRangeProperty
Résultat Windows.UI.Xaml.DependencyProperty

MaxValueProperty public_oe static_oe property

The maximum value property
public static DependencyProperty,Windows.UI.Xaml MaxValueProperty
Résultat Windows.UI.Xaml.DependencyProperty

MinRangeProperty public_oe static_oe property

The minimum range property
public static DependencyProperty,Windows.UI.Xaml MinRangeProperty
Résultat Windows.UI.Xaml.DependencyProperty

MinValueProperty public_oe static_oe property

The minimum value property
public static DependencyProperty,Windows.UI.Xaml MinValueProperty
Résultat Windows.UI.Xaml.DependencyProperty

PositionProperty public_oe static_oe property

The position property
public static DependencyProperty,Windows.UI.Xaml PositionProperty
Résultat Windows.UI.Xaml.DependencyProperty

SectionsProperty public_oe static_oe property

The sections property
public static DependencyProperty,Windows.UI.Xaml SectionsProperty
Résultat Windows.UI.Xaml.DependencyProperty

SeparatorProperty public_oe static_oe property

The separator property
public static DependencyProperty,Windows.UI.Xaml SeparatorProperty
Résultat Windows.UI.Xaml.DependencyProperty

ShowLabelsProperty public_oe static_oe property

The show labels property
public static DependencyProperty,Windows.UI.Xaml ShowLabelsProperty
Résultat Windows.UI.Xaml.DependencyProperty

TitleProperty public_oe static_oe property

The title property
public static DependencyProperty,Windows.UI.Xaml TitleProperty
Résultat Windows.UI.Xaml.DependencyProperty