Properties
VisibleDataBounds
Bounds
Gets the data visible bounds, the min and max visible values in the axis that are currently in the UI.
NameTextSize
Double
Gets or sets the size of the name label.
Padding
Padding
Gets or sets the padding around the tick labels along the axis.
LabelsDensity
Single
Gets or sets the labels density, it is a factor that determines the distance between labels when calculated
by the library, 0 is the most dense any value greater than 0 will make the labels to be more separated,
values less than 0 will make the labels to overlap (labels rotation could prevent overlapping).
Default value is 0.85.
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.
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.
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.
MinZoomDelta
Nullable<Double>
Gets or sets the min zoom delta, the minimum difference between the max and min visible limits of the axis.
default is null and null means that the library will calculate this value based on the current data.
BouncingDistance
Double
Gets or sets the distance that the axis can be panned beyond its limits, the unit is percentage of the chart
width or height depending on the axis orientation, default is 0.25 which means that the axis can be panned
25% of the chart width or height beyond its limits.
Renderer
IAxisRenderer
Gets or sets a renderer that fully owns this axis' measure and draw. When null (the default)
the built-in rendering is used; when set it replaces the axis' appearance — enabling custom
looks (multi-tier labels, dividers, custom gutter content) without a UI-framework-specific
axis type.
ScalerProvider
IScalerProvider
Gets or sets a provider that builds this axis' coordinate
Scaler. When null (the
default) the built-in linear scaler is used; when set it supplies a custom (for example
non-linear) mapping used consistently by series, gridlines, hit-testing and zoom.
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.
No member matches that name.