Class BarChartColor
Bar chart writer with color support
Inheritance
object
BarChartColor
Namespace: Terminaux.Writer.FancyWriters
Assembly: Terminaux.dll
Syntax
[Obsolete("This is considered a legacy method of writing this fancy text and will be removed in a future version of Terminaux. Please use its cyclic writer equivalent.")]
public static class BarChartColor
Methods
| Edit this page View SourceRenderBarChart(ChartElement[], int, bool)
Renders the bar chart
Declaration
public static string RenderBarChart(ChartElement[] elements, int InteriorWidth, bool showcase = false)
Parameters
Type | Name | Description |
---|---|---|
ChartElement[] | elements | Elements to render |
int | InteriorWidth | The width of the interior window, excluding the two console columns for left and right frames |
bool | showcase | Show the element list |
Returns
Type | Description |
---|---|
string | The rendered bar chart |
WriteBarChart(ChartElement[], int, bool)
Writes the bar chart
Declaration
public static void WriteBarChart(ChartElement[] elements, int InteriorWidth, bool showcase = false)
Parameters
Type | Name | Description |
---|---|---|
ChartElement[] | elements | Elements to render |
int | InteriorWidth | The width of the interior window, excluding the two console columns for left and right frames |
bool | showcase | Show the element list |