XamlPolarAxis
A PolarAxis instance for XAML.
Inheritance
Object
AvaloniaObject
Animatable
StyledElement
Visual
Layoutable
Interactive
InputElement
Control
XamlPolarAxis
Implements
Properties
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.
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.
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.
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).
Methods
RemoveOldPaints
1 parameter
Deletes the Paint instances that changed from the user interface.
IChartView chart The chart.
Events
No member matches that name.