FacetOptions Class

The options of the grid of small charts of a plot whose marks have facets (Mark<T>.FacetX, Mark<T>.FacetY).

public sealed class FacetOptions

Constructors

NameDescription
FacetOptions()

FacetOptions()

FacetOptions.cs
public FacetOptions()

No documentation is available.

Properties

NameDescription
ColumnsGets or sets the number of columns when the marks only have Mark<T>.FacetX: the charts wrap onto new rows, each with its facet as a header. With null, the default, each facet is a column of a single row.
GapGets or sets the space between two charts of the grid. The default is 12.
XDomainGets or sets the facets of the columns, in order, or null for the values of the data in the order they first appear.
YDomainGets or sets the facets of the rows, in order, or null for the values of the data in the order they first appear.

Gets or sets the number of columns when the marks only have Mark<T>.FacetX: the charts wrap onto new rows, each with its facet as a header. With null, the default, each facet is a column of a single row.

public int? Columns { get; set; }

Property value

int?

Exceptions

ArgumentOutOfRangeException
The value is not a positive number.

Gets or sets the space between two charts of the grid. The default is 12.

public double Gap { get; set; }

Property value

double

Gets or sets the facets of the columns, in order, or null for the values of the data in the order they first appear.

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

Gets or sets the facets of the rows, in order, or null for the values of the data in the order they first appear.

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