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
ScaleBandScale
Constructors
| Name | Description |
|---|---|
| BandScale() |
BandScale()
BandScale.cspublic BandScale()No documentation is available.
Properties
| Name | Description |
|---|---|
| Align | 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. |
| Domain | Gets or sets the categories, in order, or null to use the values of the data in the order they first appear. |
| PaddingInner | 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. |
| PaddingOuter | 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. |
Align
BandScale.csDomain
BandScale.csGets 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; }