C# Класс LiveCharts.Wpf.Axis

An Axis of a chart
Наследование: System.Windows.FrameworkElement, IAxisView
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
AxisOrientationProperty System.Windows.DependencyProperty
BarUnitProperty System.Windows.DependencyProperty
DisableAnimationsProperty System.Windows.DependencyProperty
FontFamilyProperty System.Windows.DependencyProperty
FontSizeProperty System.Windows.DependencyProperty
FontStretchProperty System.Windows.DependencyProperty
FontStyleProperty System.Windows.DependencyProperty
FontWeightProperty System.Windows.DependencyProperty
ForegroundProperty System.Windows.DependencyProperty
IsMergedProperty System.Windows.DependencyProperty
LabelFormatterProperty System.Windows.DependencyProperty
LabelsProperty System.Windows.DependencyProperty
LabelsRotationProperty System.Windows.DependencyProperty
MaxRangeProperty System.Windows.DependencyProperty
MaxValueProperty System.Windows.DependencyProperty
MinRangeProperty System.Windows.DependencyProperty
MinValueProperty System.Windows.DependencyProperty
PositionProperty System.Windows.DependencyProperty
SectionsProperty System.Windows.DependencyProperty
SeparatorProperty System.Windows.DependencyProperty
ShowLabelsProperty System.Windows.DependencyProperty
TitleProperty System.Windows.DependencyProperty

Private Properties

Свойство Тип Описание
BindALine Line
BindATextBlock System.Windows.Controls.TextBlock
LabelsVisibilityChanged void
UpdateChart PropertyChangedCallback

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
OnRangeChanged ( RangeChangedEventArgs e ) : void

Raises the E:RangeChanged event.

Приватные методы

Метод Описание
BindALine ( ) : Line
BindATextBlock ( ) : System.Windows.Controls.TextBlock
LabelsVisibilityChanged ( DependencyObject dependencyObject, System.Windows.DependencyPropertyChangedEventArgs dependencyPropertyChangedEventArgs ) : void
UpdateChart ( bool animate = false, bool updateNow = false ) : PropertyChangedCallback

Описание методов

AsCoreElement() публичный Метод

Ases the core element.
public AsCoreElement ( ChartCore chart, AxisOrientation source ) : AxisCore
chart LiveCharts.Charts.ChartCore The chart.
source AxisOrientation The source.
Результат AxisCore

Axis() публичный Метод

Initializes a new instance of Axis class
public Axis ( ) : System
Результат System

Clean() публичный Метод

Cleans this instance.
public Clean ( ) : void
Результат void

GetLabelSize() публичный Метод

Gets the size of the label.
public GetLabelSize ( ) : LiveCharts.Dtos.CoreSize
Результат LiveCharts.Dtos.CoreSize

GetTileTop() публичный Метод

Gets the tile top.
public GetTileTop ( ) : double
Результат double

GetTitleLeft() публичный Метод

Gets the title left.
public GetTitleLeft ( ) : double
Результат double

OnRangeChanged() защищенный Метод

Raises the E:RangeChanged event.
protected OnRangeChanged ( RangeChangedEventArgs e ) : void
e LiveCharts.Events.RangeChangedEventArgs The instance containing the event data.
Результат void

RenderSeparator() публичный Метод

Renders the separator.
public RenderSeparator ( SeparatorElementCore model, ChartCore chart ) : void
model SeparatorElementCore The model.
chart LiveCharts.Charts.ChartCore The chart.
Результат void

SetRange() публичный Метод

Sets the range.
public SetRange ( double min, double max ) : void
min double The minimum.
max double The maximum.
Результат void

SetTitleLeft() публичный Метод

Sets the title left.
public SetTitleLeft ( double value ) : void
value double The value.
Результат void

SetTitleTop() публичный Метод

Sets the title top.
public SetTitleTop ( double value ) : void
value double The value.
Результат void

UpdateTitle() публичный Метод

Updates the title.
public UpdateTitle ( ChartCore chart, double rotationAngle ) : LiveCharts.Dtos.CoreSize
chart LiveCharts.Charts.ChartCore The chart.
rotationAngle double The rotation angle.
Результат LiveCharts.Dtos.CoreSize

Описание свойств

AxisOrientationProperty публичное статическое свойство

The axis orientation property
public static DependencyProperty,System.Windows AxisOrientationProperty
Результат System.Windows.DependencyProperty

BarUnitProperty публичное статическое свойство

The bar unit property
public static DependencyProperty,System.Windows BarUnitProperty
Результат System.Windows.DependencyProperty

DisableAnimationsProperty публичное статическое свойство

The disable animations property
public static DependencyProperty,System.Windows DisableAnimationsProperty
Результат System.Windows.DependencyProperty

FontFamilyProperty публичное статическое свойство

The font family property
public static DependencyProperty,System.Windows FontFamilyProperty
Результат System.Windows.DependencyProperty

FontSizeProperty публичное статическое свойство

The font size property
public static DependencyProperty,System.Windows FontSizeProperty
Результат System.Windows.DependencyProperty

FontStretchProperty публичное статическое свойство

The font stretch property
public static DependencyProperty,System.Windows FontStretchProperty
Результат System.Windows.DependencyProperty

FontStyleProperty публичное статическое свойство

The font style property
public static DependencyProperty,System.Windows FontStyleProperty
Результат System.Windows.DependencyProperty

FontWeightProperty публичное статическое свойство

The font weight property
public static DependencyProperty,System.Windows FontWeightProperty
Результат System.Windows.DependencyProperty

ForegroundProperty публичное статическое свойство

The foreground property
public static DependencyProperty,System.Windows ForegroundProperty
Результат System.Windows.DependencyProperty

IsMergedProperty публичное статическое свойство

The is merged property
public static DependencyProperty,System.Windows IsMergedProperty
Результат System.Windows.DependencyProperty

LabelFormatterProperty публичное статическое свойство

The label formatter property
public static DependencyProperty,System.Windows LabelFormatterProperty
Результат System.Windows.DependencyProperty

LabelsProperty публичное статическое свойство

The labels property
public static DependencyProperty,System.Windows LabelsProperty
Результат System.Windows.DependencyProperty

LabelsRotationProperty публичное статическое свойство

The labels rotation property
public static DependencyProperty,System.Windows LabelsRotationProperty
Результат System.Windows.DependencyProperty

MaxRangeProperty публичное статическое свойство

The maximum range property
public static DependencyProperty,System.Windows MaxRangeProperty
Результат System.Windows.DependencyProperty

MaxValueProperty публичное статическое свойство

The maximum value property
public static DependencyProperty,System.Windows MaxValueProperty
Результат System.Windows.DependencyProperty

MinRangeProperty публичное статическое свойство

The minimum range property
public static DependencyProperty,System.Windows MinRangeProperty
Результат System.Windows.DependencyProperty

MinValueProperty публичное статическое свойство

The minimum value property
public static DependencyProperty,System.Windows MinValueProperty
Результат System.Windows.DependencyProperty

PositionProperty публичное статическое свойство

The position property
public static DependencyProperty,System.Windows PositionProperty
Результат System.Windows.DependencyProperty

SectionsProperty публичное статическое свойство

The sections property
public static DependencyProperty,System.Windows SectionsProperty
Результат System.Windows.DependencyProperty

SeparatorProperty публичное статическое свойство

The separator property
public static DependencyProperty,System.Windows SeparatorProperty
Результат System.Windows.DependencyProperty

ShowLabelsProperty публичное статическое свойство

The show labels property
public static DependencyProperty,System.Windows ShowLabelsProperty
Результат System.Windows.DependencyProperty

TitleProperty публичное статическое свойство

The title property
public static DependencyProperty,System.Windows TitleProperty
Результат System.Windows.DependencyProperty