ContinuousScale Class

A scale of continuous values: numbers or times.

public abstract class ContinuousScale : Scale
Inheritance
Scale ContinuousScale

Properties

NameDescription
ClampGets or sets a value that indicates whether the values outside the domain are moved to its bounds.
MaximumGets or sets the end of the domain, or null to use the largest value of the data.
MinimumGets or sets the start of the domain, or null to use the smallest value of the data.
NiceGets 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.
TickCountGets or sets the approximate number of ticks, or null to choose it from the length of the axis.
TickFormatGets or sets the format of the tick labels, or null for the default format (see NumberFormats).
TicksGets or sets the values of the ticks, or null to generate them.
ZeroGets 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.

Gets or sets a value that indicates whether the values outside the domain are moved to its bounds.

public bool Clamp { get; set; }

Property value

bool

Gets or sets the end of the domain, or null to use the largest value of the data.

public double? Maximum { get; set; }

Property value

double?

Gets or sets the start of the domain, or null to use the smallest value of the data.

public double? Minimum { get; set; }

Property value

double?

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.

public bool? Nice { get; set; }

Property value

bool?

Gets or sets the approximate number of ticks, or null to choose it from the length of the axis.

public int? TickCount { get; set; }

Property value

int?

Gets or sets the format of the tick labels, or null for the default format (see NumberFormats).

public Func<double, string>? TickFormat { get; set; }

Property value

Func<double, string>?

Gets or sets the values of the ticks, or null to generate them.

public IReadOnlyList<double>? Ticks { get; set; }

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.

public bool? Zero { get; set; }

Property value

bool?