Class ChartLayoutRequest
Namespace: VelloSharp.Charting.Layout
Assembly: VelloSharp.Charting.dll
Requests chart layout computation for a viewport.
public sealed class ChartLayoutRequest
Inheritance
Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
ChartLayoutRequest(double, double, double, IReadOnlyList<AxisLayoutRequest>?)
public ChartLayoutRequest(double viewportWidth, double viewportHeight, double devicePixelRatio, IReadOnlyList<AxisLayoutRequest>? axes = null)
Parameters
viewportWidth
double
viewportHeight
double
devicePixelRatio
double
axes
IReadOnlyList<AxisLayoutRequest>?
Properties
Axes
Gets the axis layout requests.
public IReadOnlyList<AxisLayoutRequest> Axes { get; }
Property Value
IReadOnlyList<AxisLayoutRequest>
DevicePixelRatio
Gets the device pixel ratio used for DPI-aware rounding.
public double DevicePixelRatio { get; }
Property Value
ViewportHeight
Gets the height of the available viewport (DIPs).
public double ViewportHeight { get; }
Property Value
ViewportWidth
Gets the width of the available viewport (DIPs).
public double ViewportWidth { get; }