Class BarSeries | Terminal.Gui v2 (original) (raw)
Namespace
Assembly
Terminal.Gui.dll
Series of bars positioned at regular intervals
public class BarSeries : ISeries
Inheritance
BarSeries
Implements
Inherited Members
Properties
Determines the spacing of bars along the axis. Defaults to 1 i.e. every 1 unit of graph space a bar is rendered. Note that you should also consider CellSize when changing this.
Ordered collection of graph bars to position along axis
True to draw Text along the axis under the bar. Defaults to true.
The number of units of graph space along the axis before rendering the first bar (and subsequent bars - seeBarEvery). Defaults to 0
Direction bars protrude from the corresponding axis. Defaults to vertical
Overrides the Fill with a fixed color
Methods
AdjustColor(GraphCellToRender)
Applies any color overriding
DrawBarLine(GraphView, Point, Point, BarSeriesBar)
Override to do custom drawing of the bar e.g. to apply varying color or changing the fill symbol mid bar.
DrawSeries(GraphView, Rectangle, RectangleF)
Draws bars that are currently in the drawBounds