ChartTabularDataToMarks
public static class ChartTabularDataToMarksStateless conversion from a parsed ChartGuru.ChartTabularData + a ChartGuru.ChartDataMapping to a list of ChartGuru.IChartMarks shaped for the requested ChartGuru.ChartType.
Supports long-format (one Y column + a series-by category column) and wide-format (every Y column is its own series). When the mapping declares OHLC columns the chart type is forced to `ChartGuru.ChartType.Candlestick`.
The X axis can be:
- numeric — values flow straight through;
- date — values are converted to seconds since the Unix epoch (the
convention used by ChartGuru's
AxisScaleType.Time); - category — the row index is used as the X position and the string is attached as `ChartGuru.ChartMark.CategoryLabel`.
Methods
Section titled “Methods”
Build(ChartTabularData, ChartDataMapping, ChartType)
Section titled “Build(ChartTabularData, ChartDataMapping, ChartType)”public static List<IChartMark> Build(ChartTabularData data, ChartDataMapping mapping, ChartType chartType)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
data |
ChartGuru.ChartTabularData | |
mapping |
ChartGuru.ChartDataMapping | |
chartType |
ChartGuru.ChartType |
Returns
System.Collections.Generic.List{ChartGuru.IChartMark} — No return description is available.
Build(ChartTabularData, ChartDataMapping, ChartType, out double)
Section titled “Build(ChartTabularData, ChartDataMapping, ChartType, out double)”public static List<IChartMark> Build(ChartTabularData data, ChartDataMapping mapping, ChartType chartType, out double timeOriginEpochSeconds)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
data |
ChartGuru.ChartTabularData | |
mapping |
ChartGuru.ChartDataMapping | |
chartType |
ChartGuru.ChartType | |
timeOriginEpochSeconds |
System.Double |
Returns
System.Collections.Generic.List{ChartGuru.IChartMark} — No return description is available.
TryUpdateMarks(ChartTabularData, ChartDataMapping, ChartType, IReadOnlyList, out double)
Section titled “TryUpdateMarks(ChartTabularData, ChartDataMapping, ChartType, IReadOnlyList, out double)”public static bool TryUpdateMarks(ChartTabularData data, ChartDataMapping mapping, ChartType chartType, IReadOnlyList<IChartMark> marks, out double timeOriginEpochSeconds)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
data |
ChartGuru.ChartTabularData | |
mapping |
ChartGuru.ChartDataMapping | |
chartType |
ChartGuru.ChartType | |
marks |
System.Collections.Generic.IReadOnlyList{ChartGuru.IChartMark} | |
timeOriginEpochSeconds |
System.Double |
Returns
System.Boolean — No return description is available.