Skip to content

PlottableProjection<TElement, TValue>

StructChartGuruChartGuru
public readonly struct PlottableProjection<TElement, TValue>

Type-safe projection from a data element to a plottable value. Swift Charts equivalent: PlottableProjection<DataElement, DataValue> with typed key-path semantics via System.Func%602.

public readonly string Label

No description is available for this member.

Returns

System.String — No return description is available.

public readonly Func<TElement, TValue> Selector

No description is available for this member.

Returns

System.Func{{TElement},{TValue}} — No return description is available.

public readonly PlottableType Type

No description is available for this member.

Returns

ChartGuru.PlottableType — No return description is available.

PlottableProjection(string, Func<TElement, TValue>, PlottableType)

Section titled “PlottableProjection(string, Func<TElement, TValue>, PlottableType)”
public PlottableProjection(string label, Func<TElement, TValue> selector, PlottableType type)

No description is available for this member.

Parameters

Name Type Description
label System.String
selector System.Func{{TElement},{TValue}}
type ChartGuru.PlottableType

public TValue Select(TElement element)

No description is available for this member.

Parameters

Name Type Description
element {TElement}

Returns

{TValue} — No return description is available.

public PlottableValueRef ToRef(TElement element)

No description is available for this member.

Parameters

Name Type Description
element {TElement}

Returns

ChartGuru.PlottableValueRef — No return description is available.