BreakdownChartExtensions
Namespace: Hex1b
Assembly: Hex1b.dll
Extension methods for creating instances.
csharp
public static class BreakdownChartExtensionsInheritance
Object → BreakdownChartExtensions
Methods
BreakdownChart(RootContext, IReadOnlyList<ChartItem>)
Creates a breakdown chart with data (selectors pre-wired).
Parameters:
ctx(RootContext):data(IReadOnlyList<ChartItem>):
Returns: BreakdownChartWidget<ChartItem>
csharp
public static BreakdownChartWidget<ChartItem> BreakdownChart(this RootContext ctx, IReadOnlyList<ChartItem> data)BreakdownChart(RootContext, params ChartItem[])
Creates a breakdown chart with data (params overload).
Parameters:
ctx(RootContext):data(ChartItem[]):
Returns: BreakdownChartWidget<ChartItem>
csharp
public static BreakdownChartWidget<ChartItem> BreakdownChart(this RootContext ctx, params ChartItem[] data)BreakdownChart<T, TParent>(WidgetContext<TParent>, IReadOnlyList<T>)
Creates a breakdown chart bound to the specified data.
Parameters:
ctx(WidgetContext<<TParent>>):data(IReadOnlyList<<T>>):
Returns: BreakdownChartWidget<<T>>
csharp
public static BreakdownChartWidget<T> BreakdownChart<T, TParent>(this WidgetContext<TParent> ctx, IReadOnlyList<T> data) where TParent : Hex1bWidgetBreakdownChart<T>(RootContext, IReadOnlyList<T>)
Creates a breakdown chart bound to the specified data.
Parameters:
ctx(RootContext):data(IReadOnlyList<<T>>):
Returns: BreakdownChartWidget<<T>>
csharp
public static BreakdownChartWidget<T> BreakdownChart<T>(this RootContext ctx, IReadOnlyList<T> data)BreakdownChart<TParent>(WidgetContext<TParent>, IReadOnlyList<ChartItem>)
Creates a breakdown chart with data (selectors pre-wired).
Parameters:
ctx(WidgetContext<<TParent>>):data(IReadOnlyList<ChartItem>):
Returns: BreakdownChartWidget<ChartItem>
csharp
public static BreakdownChartWidget<ChartItem> BreakdownChart<TParent>(this WidgetContext<TParent> ctx, IReadOnlyList<ChartItem> data) where TParent : Hex1bWidgetBreakdownChart<TParent>(WidgetContext<TParent>, params ChartItem[])
Creates a breakdown chart with data (params overload).
Parameters:
ctx(WidgetContext<<TParent>>):data(ChartItem[]):
Returns: BreakdownChartWidget<ChartItem>
csharp
public static BreakdownChartWidget<ChartItem> BreakdownChart<TParent>(this WidgetContext<TParent> ctx, params ChartItem[] data) where TParent : Hex1bWidget