Class AxisLayout
- Namespace
- LightningChartLib.WinForms.Charting.Views.ViewXY
- Assembly
- LightningChart.WinForms.Charting.NET4.dll
Axis layout.
[TypeConverter(typeof(ExpandableObjectConverter))]
public class AxisLayout : ChartNode, IDisposable, IChartNode
- Inheritance
-
AxisLayout
- Implements
- Inherited Members
Constructors
AxisLayout()
Constructor.
public AxisLayout()
AxisLayout(ViewXY)
Constructor.
public AxisLayout(ViewXY owner)
Parameters
ownerViewXYParent.
Properties
AutoAdjustAxisGap
Add/remove extra axis gap between X-axes [PX], if XAxisAutoPlacement is not 'Off'.
public double AutoAdjustAxisGap { get; set; }
Property Value
Remarks
If set 0, adjacent XAxes will be rendered as close as possible without overlapping.
AutoAdjustMargins
Calculate margins automatically.
public bool AutoAdjustMargins { get; set; }
Property Value
AutoShrinkSegmentsGap
Automatically shrink segments gap so that all segments can fit in graph.
[Obsolete("This property is read-only and will be removed on next release. Currently all Segments are fitted in graph making this useless property.")]
public bool AutoShrinkSegmentsGap { get; }
Property Value
AxisGridStrips
Axis grid strip.
public XYAxisGridStrips AxisGridStrips { get; set; }
Property Value
GridVisibilityOrder
Grid visibility order. Note each axis has individual controls for major and minor grid visibility, color, line style etc.
public GridVisibilityOrder GridVisibilityOrder { get; set; }
Property Value
Segments
Y-axis segment list. Used, when axis layout is segmented.
public YAxisSegmentList Segments { get; set; }
Property Value
SegmentsGap
When stacked or segmented view is defined and there's more than one Y-axis defined, this is the gap in pixels between graph segments.
public int SegmentsGap { get; set; }
Property Value
Remarks
If AutoShrinkSegmentsGap is used, the pixel count may be smaller.
XAxisAutoPlacement
X-axes auto placement.
public XAxisAutoPlacement XAxisAutoPlacement { get; set; }
Property Value
XAxisTitleAutoPlacement
Place X-axis title automatically. If enabled overwrites X-axis' Title and Units two properties: VerticalAlign and DistanceToAxis.
public bool XAxisTitleAutoPlacement { get; set; }
Property Value
XGridStripAxisIndex
X-grid strip fill axis index.
public int XGridStripAxisIndex { get; set; }
Property Value
YAxesLayout
Y-axis mode, when there's several Y-axes defined
public YAxesLayout YAxesLayout { get; set; }
Property Value
YAxisAutoPlacement
Y-axes auto placement.
public YAxisAutoPlacement YAxisAutoPlacement { get; set; }
Property Value
YAxisTitleAutoPlacement
Place Y-axis title automatically. If enabled overwrites Y-axis' Title and Units two properties: HorizontalAlign and DistanceToAxis.
public bool YAxisTitleAutoPlacement { get; set; }
Property Value
YGridStripAxisIndexLayered
Y-grid fill strip axis index.
public int YGridStripAxisIndexLayered { get; set; }
Property Value
Methods
Dispose(bool)
Dispose Layout
protected override void Dispose(bool disposing)
Parameters
disposingboolLightningChartLib.WinForms.Charting.Views.ViewXY.AxisLayout
ToString()
Converts object to string representation.
public override string ToString()
Returns
- string
Object as a string.