XamlPolarAxis

A PolarAxis instance for XAML.

Class · Namespace LiveChartsCore.SkiaSharpView.WPF · Assembly LiveChartsCore.SkiaSharpView.WPF · View source

Members

Properties

Orientation PolarAxisOrientation
Gets the orientation.
NameTextSize Double
Gets or sets the size of the name label.
NamePadding Padding
Gets or sets the padding of the name label.
LabelsAngle Double
Gets the angle in degrees where the labels are drawn, default is 0, notice this property has no effect when the axis has PolarAxisOrientation.Angle orientation.
Labeler Func<Double, String>
Gets or sets the labeler, a function that receives a number and return the label content as string.
MinStep Double
Gets or sets the minimum step, the step defines the interval between every separator in the axis, LiveCharts will calculate it automatically based on the chart data and the chart size size, if the calculated step is less than the IPlane.MinStep then IPlane.MinStep will be used as the axis step, default is 0.
ForceStepToMin Boolean
Gets or sets whether the axis should use the IPlane.MinStep as the actual step of the axis, if true, the library will not calculate the step of the axis automatically, instead it will use the value in the IPlane.MinStep property. Be careful when setting this property to true, it might cause performance issues if the step is too small for the current data in the chart. Default value is false.
MinSeparators Int32
Gets or sets the minimum number of separators (gridlines/labels) the axis should display when the step is calculated automatically. The library snaps the auto-step up to a nice number (1, 2, 5, 10 × magnitude), and on small charts that snap can leave too few separators visible; this property forces the auto-step to subdivide further until at least this many separators fit in the visible range. Set to 0 to disable. Ignored when IPlane.ForceStepToMin is true. Default is 3.
MinLimit Nullable<Double>
Gets or sets the minimum value visible in the axis, any point less than this value will be hidden, set it to null (or double.NaN) to use a value based on the smaller value in the chart.
MaxLimit Nullable<Double>
Gets or sets the maximum value visible in the axis, any point greater than this value will be hidden, set it null (or double.NaN) to use a value based on the greater value in the chart.
UnitWidth Double
Gets or sets the unit with, it means the width of every point (if the series requires it) in the chart values scale, this value should normally be 1, unless you are plotting in a custom scale, default is 1.
LabelsRotation Double
Gets or sets the labels rotation in degrees.
TextSize Double
Gets or sets the size of the labels.
Labels IList<String>
Gets or sets the labels, if labels are not null, then the axis label will be pulled from the labels collection, the label is mapped to the chart based on the position of the label and the position of the point, both integers, if the axis requires a label outside the bounds of the labels collection, then the index will be returned as the label. Default value is null.
LabelsPadding Padding
Gets or sets the labels padding.
LabelsVerticalAlignment Align
Gets or sets the labels vertical alignment.
LabelsHorizontalAlignment Align
Gets or sets the labels horizontal alignment.
LabelsBackground LvcColor
Gets or sets the labels background.
ShowSeparatorLines Boolean
Gets or sets a value indicating whether the separator lines are visible.
CustomSeparators IEnumerable<Double>
Gets or sets the custom separators collection, when this property is set (not null) the axis will use the values in this collection instead of calculating the separators automatically. Defalut is null.
IsInverted Boolean
Gets or sets a value indicating whether the axis is inverted based on the Cartesian coordinate system.
NamePaint Paint
Gets or sets the name paint.
LabelsPaint Paint
Gets or sets the text paint.
SeparatorsPaint Paint
Gets or sets the separators paint.
AnimationsSpeed Nullable<TimeSpan>
Gets or sets the animations speed; when null the axis inherits the chart-level animation (see Chart.Animation). Set it to TimeSpan.Zero to disable animations for this axis only.
EasingFunction Func<Single, Single>
Gets or sets the easing function used to animate the axis; when null the axis inherits the chart-level easing (see Chart.Animation).
Tag Object
Gets or sets the object that contains data about the control.
IsVisible Boolean
Gets or sets a value indicating whether the element is visible.
Name String
Gets or sets the axis name.

Methods

Invalidate 1 parameter

Invalidates the IChartElement in the user interface.

Chart chart The chart.

GetNameLabelSize 1 parameter

Gets the size of the axis name label.

Chart chart the chart.

GetPossibleSize 1 parameter

Gets the size of the possible.

Chart chart The chart.

RemoveFromUI 1 parameter

Removes the element from the UI.

Chart chart The chart.

RemoveOldPaints 1 parameter

Deletes the Paint instances that changed from the user interface.

IChartView chart The chart.

Events

Initialized Action<IPolarAxis>
Occurs when the axis is initialized.