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