ArcMark<T> Class
Draws a slice per row: a pie or a donut (with PolarCoordinates.InnerRadius), whose slices have angles proportional to the values. With ArcMark<T>.Radius, the slices have equal angles and radii from the values: a polar area (rose) chart. The plot uses polar coordinates, unless it sets other coordinates.
public sealed class ArcMark<T> : Mark<T>Type parameters
T- The type of the rows.
Remarks
Without a Mark<T>.Fill channel, each slice gets the next color of the palette.
On the x scale, the slices go from 0 to 1: a slice of a quarter of the total goes from 0 to 0.25, so every pie is a full circle, even when facets share the scale. Draw a marker at 0.72 to point at 72% of a gauge.
- Inheritance
Mark<T>ArcMark<T>
Constructors
| Name | Description |
|---|---|
| ArcMark(IEnumerable<T>, Func<T, object?>) | Initializes a new instance of the ArcMark<T> class. |
ArcMark(IEnumerable<T>, Func<T, object?>)
ArcMark.csInitializes a new instance of the ArcMark<T> class.
public ArcMark(IEnumerable<T> data, Func<T, object?> value)Parameters
dataIEnumerable<T>- The rows.
valueFunc<T, object?>- The channel of the value of the slice. Negative values count as zero.
Properties
| Name | Description |
|---|---|
| Label | Gets or sets the channel of a label drawn in the slice when it fits. |
| Radius | Gets or sets the channel of the radius of the slice (a rose chart), or null for slices of the full radius. |
| Value | Gets the channel of the value of the slice. |
Label
ArcMark.csGets or sets the channel of a label drawn in the slice when it fits.
Property value
Radius
ArcMark.csGets or sets the channel of the radius of the slice (a rose chart), or null for slices of the full radius.
Property value
Value
ArcMark.csGets the channel of the value of the slice.