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
ownerIChartNodeParent.
Properties
BarSpacing
Space between bars in same group, in pixels
public int BarSpacing { get; set; }
Property Value
Grouping
Grouping of the bars
public BarsGrouping Grouping { get; set; }
Property Value
IndexGroupingFitGroupDistance
Distance from bar group to bar group in pixels.
public int IndexGroupingFitGroupDistance { get; set; }
Property Value
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
Remarks
Effective only when Grouping is BarsGrouping.ByIndexFitWidth
KeepBaseLevelAtAxisMinimum
Keep base level in axis minimum.
public bool KeepBaseLevelAtAxisMinimum { get; set; }
Property Value
Orientation
Gets or sets the orientation of bars (horizontal or vertical).
public BarsOrientation Orientation { get; set; }
Property Value
StackSum
Stack sum. The series values amongst different series are stacked and stretched to make this sum.
public double StackSum { get; set; }
Property Value
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
Methods
Dispose(bool)
Clean up any resources being used.
protected override void Dispose(bool disposing)
Parameters
disposingbooltrue 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.