Skip to main content

Class VerticalBarChart

A vertical bar chart

Assembly: MicroLayout.dll
View Source
Declaration
public class VerticalBarChart : ChartControl, IThemedControl, IControl

Inheritance: System.Object -> Meadow.Foundation.Graphics.MicroLayout.Control

Implements:
Meadow.Foundation.Graphics.MicroLayout.IThemedControl

Properties

Series

Gets or sets a series of float values to plot

View Source
Declaration
public float[]? Series { get; set; }

BarSpacing

Gets or sets the padding around a bar

View Source
Declaration
public int BarSpacing { get; set; }

XAxisLabelFormat

Gets or sets the string formatting (i.e. "N0" for a 0-decimal number) to apply to the X axis labels

View Source
Declaration
public string XAxisLabelFormat { get; set; }

ShowXAxisLabels

Gets or sets the visibility of the X axis labels

View Source
Declaration
public bool ShowXAxisLabels { get; set; }

SeriesColor

Gets or sets the color of the plotted series (bars)

View Source
Declaration
public Color SeriesColor { get; set; }

Methods

OnDraw(MicroGraphics)

Performs the actual drawing of the control on the specified Meadow.Foundation.Graphics.MicroGraphics surface. This method must be implemented in derived classes.

View Source
Declaration
protected override void OnDraw(MicroGraphics graphics)
Parameters
TypeNameDescription
Meadow.Foundation.Graphics.MicroGraphics surface to draw the control on.

Implements