ColumnChartExtensions
Namespace: Hex1b
Assembly: Hex1b.dll
Extension methods for creating instances.
csharp
public static class ColumnChartExtensionsInheritance
Object → ColumnChartExtensions
Methods
ColumnChart(RootContext, IReadOnlyList<ChartItem>)
Creates a column chart with data (selectors pre-wired).
Parameters:
ctx(RootContext): The root context.data(IReadOnlyList<ChartItem>): The chart items.
Returns: ColumnChartWidget<ChartItem>
csharp
public static ColumnChartWidget<ChartItem> ColumnChart(this RootContext ctx, IReadOnlyList<ChartItem> data)ColumnChart(RootContext, params ChartItem[])
Creates a column chart with data (params overload).
Parameters:
ctx(RootContext): The root context.data(ChartItem[]): The chart items.
Returns: ColumnChartWidget<ChartItem>
csharp
public static ColumnChartWidget<ChartItem> ColumnChart(this RootContext ctx, params ChartItem[] data)ColumnChart<T, TParent>(WidgetContext<TParent>, IReadOnlyList<T>)
Creates a column chart bound to the specified data.
Parameters:
ctx(WidgetContext<<TParent>>): The widget context.data(IReadOnlyList<<T>>): The data source for the chart.
Returns: ColumnChartWidget<<T>>
csharp
public static ColumnChartWidget<T> ColumnChart<T, TParent>(this WidgetContext<TParent> ctx, IReadOnlyList<T> data) where TParent : Hex1bWidgetColumnChart<T>(RootContext, IReadOnlyList<T>)
Creates a column chart bound to the specified data.
Parameters:
ctx(RootContext): The root context.data(IReadOnlyList<<T>>): The data source for the chart.
Returns: ColumnChartWidget<<T>>
csharp
public static ColumnChartWidget<T> ColumnChart<T>(this RootContext ctx, IReadOnlyList<T> data)ColumnChart<TParent>(WidgetContext<TParent>, IReadOnlyList<ChartItem>)
Creates a column chart with data (selectors pre-wired).
Parameters:
ctx(WidgetContext<<TParent>>): The widget context.data(IReadOnlyList<ChartItem>): The chart items.
Returns: ColumnChartWidget<ChartItem>
csharp
public static ColumnChartWidget<ChartItem> ColumnChart<TParent>(this WidgetContext<TParent> ctx, IReadOnlyList<ChartItem> data) where TParent : Hex1bWidgetColumnChart<TParent>(WidgetContext<TParent>, params ChartItem[])
Creates a column chart with data (params overload).
Parameters:
ctx(WidgetContext<<TParent>>): The widget context.data(ChartItem[]): The chart items.
Returns: ColumnChartWidget<ChartItem>
csharp
public static ColumnChartWidget<ChartItem> ColumnChart<TParent>(this WidgetContext<TParent> ctx, params ChartItem[] data) where TParent : Hex1bWidget