Skip to content

BreakdownChartExtensions

Namespace: Hex1b

Assembly: Hex1b.dll

Extension methods for creating instances.

csharp
public static class BreakdownChartExtensions

Inheritance

ObjectBreakdownChartExtensions

Methods

BreakdownChart(RootContext, IReadOnlyList<ChartItem>)

Creates a breakdown chart with data (selectors pre-wired).

Parameters:

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:

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:

Returns: BreakdownChartWidget<<T>>

csharp
public static BreakdownChartWidget<T> BreakdownChart<T, TParent>(this WidgetContext<TParent> ctx, IReadOnlyList<T> data) where TParent : Hex1bWidget

BreakdownChart<T>(RootContext, IReadOnlyList<T>)

Creates a breakdown chart bound to the specified data.

Parameters:

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:

Returns: BreakdownChartWidget<ChartItem>

csharp
public static BreakdownChartWidget<ChartItem> BreakdownChart<TParent>(this WidgetContext<TParent> ctx, IReadOnlyList<ChartItem> data) where TParent : Hex1bWidget

BreakdownChart<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

Released under the MIT License.