BandScale Class

A scale of categories that divides the axis into bands of equal width, such as the bars of a bar chart.

public sealed class BandScale : Scale
Inheritance
Scale BandScale

Constructors

NameDescription
BandScale()

BandScale()

BandScale.cs
public BandScale()

No documentation is available.

Properties

NameDescription
AlignGets or sets how the outer space is distributed, from 0 (all of it at the end) to 1 (all of it at the start). The default is 0.5.
DomainGets or sets the categories, in order, or null to use the values of the data in the order they first appear.
PaddingInnerGets or sets the space between two bands, as a fraction of the step from a band to the next, from 0 to 1. The default is 0.1.
PaddingOuterGets or sets the space before the first band and after the last band, as a fraction of the step. The default is 0.1.

Gets or sets how the outer space is distributed, from 0 (all of it at the end) to 1 (all of it at the start). The default is 0.5.

public double Align { get; set; }

Property value

double

Gets or sets the categories, in order, or null to use the values of the data in the order they first appear.

public IReadOnlyList<string>? Domain { get; set; }

PaddingInner

BandScale.cs

Gets or sets the space between two bands, as a fraction of the step from a band to the next, from 0 to 1. The default is 0.1.

public double PaddingInner { get; set; }

Property value

double

PaddingOuter

BandScale.cs

Gets or sets the space before the first band and after the last band, as a fraction of the step. The default is 0.1.

public double PaddingOuter { get; set; }

Property value

double