INumericAxisGridCalculator.Calculate method¶
Calculates the values at which the axis gridlines and tickmarks are placed.
Namespace: Eremex.AvaloniaUI.Charts
Assembly: Eremex.Avalonia.Charts.dll
NuGet Package: Eremex.Avalonia.Controls
Declaration¶
public IList<NumericGridEntry> Calculate(double visualRangeMin, double visualRangeMax,
double axisLength, double ticksDistance)
Parameters¶
| name | type | description |
|---|---|---|
| visualRangeMin | double |
The minimum of the visible range of the axis. |
| visualRangeMax | double |
The maximum of the visible range of the axis. |
| axisLength | double |
The length of the axis on screen. |
| ticksDistance | double |
The preferred distance on screen between adjacent values. |
Returns¶
| type | description |
|---|---|
IList<NumericGridEntry> |
The list of values to draw, in ascending order. |
See Also¶
- struct NumericGridEntry
- interface INumericAxisGridCalculator
- namespace Eremex.AvaloniaUI.Charts