AddItem<T>(BarChart, T) Method
Adds an item to the bar chart.
public static BarChart AddItem<T>(this BarChart chart, T item) where T : IBarChartItem
- Namespace
- Spectre
.Console - Containing Type
- BarChartExtensions
Parameters
-
T
- A type that implements
IBarChartItem
.
Parameters
- BarChart chart
- The bar chart.
- T item
- The item.