AddItem<T>(BreakdownChart, T) Method
Adds an item to the breakdown chart.
public static BreakdownChart AddItem<T>(this BreakdownChart chart, T item)
where T : IBreakdownChartItem
- Namespace
- Spectre
.Console - Containing Type
- Breakdown
Chart Extensions
Parameters
-
T
- A type that implements
IBreakdownChartItem
.
Parameters
- BreakdownChart chart
- The breakdown chart.
- T item
- The item.