TickMark<T> Class
Draws a short line at the x value of each row, across the band of its y category (or across the plot area): a strip plot or a barcode plot.
public sealed class TickMark<T> : Mark<T>Type parameters
T- The type of the rows.
- Inheritance
Mark<T>TickMark<T>
Constructors
| Name | Description |
|---|---|
| TickMark(IEnumerable<T>, Func<T, object?>, Func<T, object?>?) | Initializes a new instance of the TickMark<T> class. |
TickMark(IEnumerable<T>, Func<T, object?>, Func<T, object?>?)
TickMark.csInitializes a new instance of the TickMark<T> class.
public TickMark(IEnumerable<T> data, Func<T, object?> x, Func<T, object?>? y = null)Parameters
dataIEnumerable<T>- The rows.
xFunc<T, object?>- The channel of the x position.
yFunc<T, object?>?- The channel of the category on the y axis, or
nullto span the plot area.
Properties
| Name | Description |
|---|---|
| X | Gets the channel of the x position. |
| Y | Gets the channel of the category on the y axis. |
Gets the channel of the category on the y axis.