ContinuousScale Class
A scale of continuous values: numbers or times.
public abstract class ContinuousScale : Scale- Inheritance
ScaleContinuousScale
Properties
| Name | Description |
|---|---|
| Clamp | Gets or sets a value that indicates whether the values outside the domain are moved to its bounds. |
| Maximum | Gets or sets the end of the domain, or null to use the largest value of the data. |
| Minimum | Gets or sets the start of the domain, or null to use the smallest value of the data. |
| Nice | Gets or sets a value that indicates whether the domain is extended to round values, or null for the default: on for numbers, off for times. A bound set with ContinuousScale.Minimum or ContinuousScale.Maximum is kept. |
| TickCount | Gets or sets the approximate number of ticks, or null to choose it from the length of the axis. |
| TickFormat | Gets or sets the format of the tick labels, or null for the default format (see NumberFormats). |
| Ticks | Gets or sets the values of the ticks, or null to generate them. |
| Zero | Gets or sets a value that indicates whether the domain includes zero, or null for the default: on when a mark of the plot has a baseline, such as bars and areas. |
Clamp
ContinuousScale.csMaximum
ContinuousScale.csMinimum
ContinuousScale.csGets or sets a value that indicates whether the domain is extended to round values, or null for the default: on for numbers, off for times. A bound set with ContinuousScale.Minimum or ContinuousScale.Maximum is kept.
public bool? Nice { get; set; }Property value
TickCount
ContinuousScale.csTickFormat
ContinuousScale.csGets or sets the format of the tick labels, or null for the default format (see NumberFormats).
Property value
Ticks
ContinuousScale.csGets or sets the values of the ticks, or null to generate them.
public IReadOnlyList<double>? Ticks { get; set; }