Skip to main content

Class AxisComposer

Namespace: VelloSharp.Charting.Axis
Assembly: VelloSharp.Charting.dll

Composes axis render models using layout and tick generator registries.

public sealed class AxisComposer

Inheritance

objectAxisComposer

Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Constructors

AxisComposer(ChartLayoutEngine?, AxisTickGeneratorRegistry?)

public AxisComposer(ChartLayoutEngine? layoutEngine = null, AxisTickGeneratorRegistry? tickRegistry = null)

Parameters

layoutEngine ChartLayoutEngine?

tickRegistry AxisTickGeneratorRegistry?

Methods

Compose(double, double, double, IReadOnlyList<AxisDefinition>)

public AxisRenderSurface Compose(double viewportWidth, double viewportHeight, double devicePixelRatio, IReadOnlyList<AxisDefinition> axes)

Parameters

viewportWidth double

viewportHeight double

devicePixelRatio double

axes IReadOnlyList<AxisDefinition>

Returns

AxisRenderSurface