Class BarChart
Bar chart renderable
Inheritance
object
BarChart
Implements
Namespace: Terminaux.Writer.CyclicWriters
Assembly: Terminaux.dll
Syntax
public class BarChart : IStaticRenderable
Constructors
| Edit this page View SourceBarChart()
Makes a new instance of the bar chart renderer
Declaration
public BarChart()
Properties
| Edit this page View SourceElements
Chart elements
Declaration
public ChartElement[] Elements { get; set; }
Property Value
Type | Description |
---|---|
ChartElement[] |
InteriorWidth
Interior width
Declaration
public int InteriorWidth { get; set; }
Property Value
Type | Description |
---|---|
int |
Left
Left position
Declaration
public int Left { get; set; }
Property Value
Type | Description |
---|---|
int |
Showcase
Show the element list
Declaration
public bool Showcase { get; set; }
Property Value
Type | Description |
---|---|
bool |
Top
Top position
Declaration
public int Top { get; set; }
Property Value
Type | Description |
---|---|
int |
UseColors
Whether to use colors or not
Declaration
public bool UseColors { get; set; }
Property Value
Type | Description |
---|---|
bool |
Methods
| Edit this page View SourceRender()
Renders a bar chart
Declaration
public string Render()
Returns
Type | Description |
---|---|
string | Rendered text that will be used by the renderer |