BinTransform Class
Groups the x values of the rows into bins and counts them: a histogram when used with a RectMark<T>. Each bin becomes a row with X1 and X2 its edges, Y1 zero and Y2 its count. The rows are binned separately for each value of the Fill channel.
public sealed class BinTransform : TransformRemarks
The edges are round numbers, chosen with the tick algorithm for the number of bins, and the domain is extended to round values. A bin includes its lower edge; the last bin also includes its upper edge.
- Inheritance
TransformBinTransform
Constructors
| Name | Description |
|---|---|
| BinTransform() |
BinTransform()
public BinTransform()No documentation is available.
Properties
| Name | Description |
|---|---|
| Count | Gets or sets the approximate number of bins, or null to use BinTransform.Thresholds. |
| Edges | Gets or sets the edges of the bins, in increasing order, or null to compute them. Values outside of them are not counted. |
| Thresholds | Gets or sets the rule that chooses the number of bins. The default is BinThresholds.Sturges. |
Count
BinTransform.csGets or sets the approximate number of bins, or null to use BinTransform.Thresholds.
public int? Count { get; set; }Property value
Edges
BinTransform.csGets or sets the edges of the bins, in increasing order, or null to compute them. Values outside of them are not counted.
public IReadOnlyList<double>? Edges { get; set; }Property value
Thresholds
BinTransform.csGets or sets the rule that chooses the number of bins. The default is BinThresholds.Sturges.
public BinThresholds Thresholds { get; set; }