AddItem(BreakdownChart, string, double, Color) Method

Adds an item to the breakdown chart.
public static BreakdownChart AddItem(this BreakdownChart chart, string label, double value, Color color)
Namespace
Spectre.Console
Containing Type
BreakdownChartExtensions

Parameters

BreakdownChart chart
The breakdown chart.
string label
The item label.
double value
The item value.
Color color
The item color.

Returns