Class BreakdownChartColor
Breakdown chart writer with color support
Inheritance
object
BreakdownChartColor
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 BreakdownChartColor
Methods
| Edit this page View SourceRenderBreakdownChart(ChartElement[], int, int, bool, bool)
Renders the breakdown chart
Declaration
public static string RenderBreakdownChart(ChartElement[] elements, int InteriorWidth, int InteriorHeight, bool showcase = false, bool vertical = 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 |
int | InteriorHeight | The height of the interior window, excluding the two console columns for upper and lower frames |
bool | showcase | Show the element list |
bool | vertical | Whether to render this chart vertically or horizontally |
Returns
Type | Description |
---|---|
string | The rendered breakdown chart |
WriteBreakdownChart(ChartElement[], int, int, bool, bool)
Writes the breakdown chart
Declaration
public static void WriteBreakdownChart(ChartElement[] elements, int InteriorWidth, int InteriorHeight, bool showcase = false, bool vertical = 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 |
int | InteriorHeight | The height of the interior window, excluding the two console columns for upper and lower frames |
bool | showcase | Show the element list |
bool | vertical | Whether to render this chart vertically or horizontally |