Skip to content

ScatterChartNode<T> ​

Namespace: Hex1b.Nodes

Assembly: Hex1b.dll

Node that renders a scatter plot using braille characters for sub-cell dot plotting.

csharp
public class ScatterChartNode<T> : Hex1bNode

Inheritance ​

Object → Hex1bNode → ScatterChartNode<T>

Properties ​

Data ​

Returns: IReadOnlyList<<T>>

csharp
public IReadOnlyList<T>? Data { get; set; }

GroupBySelector ​

Returns: Func<<T>, String>

csharp
public Func<T, string>? GroupBySelector { get; set; }

ShowGridLines ​

Returns: Boolean

csharp
public bool ShowGridLines { get; set; }

Title ​

Returns: String

csharp
public string? Title { get; set; }

XFormatter ​

Returns: Func<Double, String>

csharp
public Func<double, string>? XFormatter { get; set; }

XMax ​

Returns: Nullable<Double>

csharp
public double? XMax { get; set; }

XMin ​

Returns: Nullable<Double>

csharp
public double? XMin { get; set; }

XSelector ​

Returns: Func<<T>, Double>

csharp
public Func<T, double>? XSelector { get; set; }

YFormatter ​

Returns: Func<Double, String>

csharp
public Func<double, string>? YFormatter { get; set; }

YMax ​

Returns: Nullable<Double>

csharp
public double? YMax { get; set; }

YMin ​

Returns: Nullable<Double>

csharp
public double? YMin { get; set; }

YSelector ​

Returns: Func<<T>, Double>

csharp
public Func<T, double>? YSelector { get; set; }

Methods ​

ArrangeCore(Rect) ​

Override this method to implement arranging logic for this node. The base implementation saves previous bounds, marks dirty on change, and sets bounds.

Parameters:

csharp
protected override void ArrangeCore(Rect rect)

GetChildren() ​

Gets the direct children of this node for structural tree traversal. Container nodes should override this to return their children.

Returns: IEnumerable<Hex1bNode>

csharp
public override IEnumerable<Hex1bNode> GetChildren()

MeasureCore(Constraints) ​

Override this method to implement measuring logic for this node.

Parameters:

Returns: Size

csharp
protected override Size MeasureCore(Constraints constraints)

Render(Hex1bRenderContext) ​

Renders the node to the given context.

Parameters:

csharp
public override void Render(Hex1bRenderContext context)

Released under the MIT License.