BoxMark<T> Class
Draws a box plot per category of x: a box from the first to the third quartile, a line at the median, whiskers to the most extreme values within 1.5 times the interquartile range, and the outliers as dots (see BoxStatistics).
public sealed class BoxMark<T> : Mark<T>Type parameters
T- The type of the rows.
- Inheritance
Mark<T>BoxMark<T>
Constructors
| Name | Description |
|---|---|
| BoxMark(IEnumerable<T>, Func<T, object?>, Func<T, object?>) | Initializes a new instance of the BoxMark<T> class. |
BoxMark(IEnumerable<T>, Func<T, object?>, Func<T, object?>)
BoxMark.csInitializes a new instance of the BoxMark<T> class.
public BoxMark(IEnumerable<T> data, Func<T, object?> x, Func<T, object?> y)Parameters
dataIEnumerable<T>- The rows: the values of all the categories.
xFunc<T, object?>- The channel of the category.
yFunc<T, object?>- The channel of the value.
Properties
| Name | Description |
|---|---|
| BoxWidth | Gets or sets the width of the box, as a fraction of the band. The default is 0.6. |
| X | Gets the channel of the category. |
| Y | Gets the channel of the value. |