Class CustomAxisTick
- Namespace
- LightningChartLib.WinForms.Charting.Axes
- Assembly
- LightningChart.WinForms.Charting.NET4.dll
Custom axis tick.
[TypeConverter(typeof(ExpandableObjectConverter))]
public class CustomAxisTick : ChartNode, IChartNode, IDisposable
- Inheritance
-
CustomAxisTick
- Implements
- Inherited Members
Constructors
CustomAxisTick()
Constructor for Form designer's list editor.
public CustomAxisTick()
CustomAxisTick(AxisBase)
Constructor.
public CustomAxisTick(AxisBase owner)
Parameters
ownerAxisBaseParent.
CustomAxisTick(AxisBase, double, string)
Constructor.
public CustomAxisTick(AxisBase owner, double axisValue, string labelText)
Parameters
CustomAxisTick(AxisBase, double, string, int, bool, Color, CustomTickStyle)
Constructor.
public CustomAxisTick(AxisBase owner, double axisValue, string labelText, int tickLength, bool visible, Color color, CustomTickStyle style)
Parameters
ownerAxisBaseParent.
axisValuedoubleValue on axis.
labelTextstringLabel text.
tickLengthintTick length in pixels.
visibleboolVisibility.
colorColorColor.
styleCustomTickStyleStyle, is grid or tick visible, or both.
Properties
AxisValue
Value at axis.
public double AxisValue { get; set; }
Property Value
Color
Used to set Line color.
public Color Color { get; set; }
Property Value
LabelText
Used to set Label text.
public string LabelText { get; set; }
Property Value
Length
Used to set Tick Length.
public int Length { get; set; }
Property Value
Style
Used to set Custom Tick And Grid Style.
public CustomTickStyle Style { get; set; }
Property Value
Visible
Used to define visibility.
public bool Visible { 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
String.