Table of Contents

Class BarViewOptions

Namespace
LightningChartLib.WinForms.Charting.Views.ViewXY
Assembly
LightningChart.WinForms.Charting.NET4.dll

Bar view options.

[TypeConverter(typeof(ExpandableObjectConverter))]
public class BarViewOptions : ChartNode, IChartNode, IDisposable
Inheritance
BarViewOptions
Implements
Inherited Members

Constructors

BarViewOptions()

Constructor for Form editor.

public BarViewOptions()

BarViewOptions(IChartNode)

Constructor.

public BarViewOptions(IChartNode owner)

Parameters

owner IChartNode

Parent.

Properties

BarSpacing

Space between bars in same group, in pixels

public int BarSpacing { get; set; }

Property Value

int

Grouping

Grouping of the bars

public BarsGrouping Grouping { get; set; }

Property Value

BarsGrouping

IndexGroupingFitGroupDistance

Distance from bar group to bar group in pixels.

public int IndexGroupingFitGroupDistance { get; set; }

Property Value

int

Remarks

Effective only when Grouping is BarsGrouping.ByIndexFitWidth

IndexGroupingFitSideMargins

Distance from bar edge to graph edge in pixels. It is used on left and right sides.

public int IndexGroupingFitSideMargins { get; set; }

Property Value

int

Remarks

Effective only when Grouping is BarsGrouping.ByIndexFitWidth

KeepBaseLevelAtAxisMinimum

Keep base level in axis minimum.

public bool KeepBaseLevelAtAxisMinimum { get; set; }

Property Value

bool

Orientation

Gets or sets the orientation of bars (horizontal or vertical).

public BarsOrientation Orientation { get; set; }

Property Value

BarsOrientation

StackSum

Stack sum. The series values amongst different series are stacked and stretched to make this sum.

public double StackSum { get; set; }

Property Value

double

Remarks

Effective only when Stacking is set to StackStretchToSum

Stacking

Stacking of bars of different series, that have same index or X value.

public BarsStacking Stacking { get; set; }

Property Value

BarsStacking

Methods

Dispose(bool)

Clean up any resources being used.

protected override void Dispose(bool disposing)

Parameters

disposing bool

true if managed resources should be disposed, otherwise false.

ToString()

Convert class description to string.

public override string ToString()

Returns

string

Class description as a string.