RuleXMark<T> Class
Draws a line at the x value of each row, across the plot area, across the band of the category RuleXMark<T>.Y, or from RuleXMark<T>.Y1 to RuleXMark<T>.Y2: vertical reference lines, the stems of lollipops, error bars. In polar coordinates, the lines go out from the center (the needle of a gauge).
public class RuleXMark<T> : Mark<T>Type parameters
T- The type of the rows.
- Inheritance
Mark<T>RuleXMark<T>
Constructors
| Name | Description |
|---|---|
| RuleXMark(IEnumerable<T>, Func<T, object?>) | Initializes a new instance of the RuleXMark<T> class. |
RuleXMark(IEnumerable<T>, Func<T, object?>)
RuleXMark`1.csInitializes a new instance of the RuleXMark<T> class.
public RuleXMark(IEnumerable<T> data, Func<T, object?> x)Parameters
dataIEnumerable<T>- The rows.
xFunc<T, object?>- The channel of the x position.
Properties
| Name | Description |
|---|---|
| StrokeDashArray | Gets or sets the lengths of the dashes and gaps, or null for a solid line. |
| X | Gets the channel of the x position. |
| Y | Gets or sets the channel of a category of the y axis: the line spans its band. It is ignored when RuleXMark<T>.Y1 or RuleXMark<T>.Y2 is set. |
| Y1 | Gets or sets the channel of the start of the line, or null for the start of the y scale (the center, in polar coordinates). |
| Y2 | Gets or sets the channel of the end of the line, or null for the end of the y scale. |
StrokeDashArray
RuleXMark`1.csGets or sets the lengths of the dashes and gaps, or null for a solid line.
public IReadOnlyList<double>? StrokeDashArray { get; set; }Property value
Gets or sets the channel of a category of the y axis: the line spans its band. It is ignored when RuleXMark<T>.Y1 or RuleXMark<T>.Y2 is set.
Property value
Gets or sets the channel of the start of the line, or null for the start of the y scale (the center, in polar coordinates).
Property value
Gets or sets the channel of the end of the line, or null for the end of the y scale.