Table of Contents

Class BarSeries

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

Series of bars positioned at regular intervals

public class BarSeries : ISeries
Inheritance
BarSeries
Implements
Inherited Members

Properties

BarEvery

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.

Bars

Ordered collection of graph bars to position along axis

DrawLabels

True to draw Text along the axis under the bar. Defaults to true.

Offset

The number of units of graph space along the axis before rendering the first bar (and subsequent bars - see BarEvery). Defaults to 0

Orientation

Direction bars protrude from the corresponding axis. Defaults to vertical

OverrideBarColor

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