spectre.console icon indicating copy to clipboard operation
spectre.console copied to clipboard

`BarChart` customization and ASCII support.

Open Charanor opened this issue 10 months ago • 2 comments

Looking at the source code BarChart overrides its ProgressBar's AsciiBar property with a non-ASCII character: . I suggest keeping it as ProgressBar's default (-) and also adding support to BarChart to change the bar character:

// Override all bars
new BarChart().Bar('+');
// Override bars separately
new BarChart().Bar(unicodeBar: '█', asciiBar: '+');

Charanor avatar Jan 17 '25 07:01 Charanor