Table of Contents

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

owner AxisBase

Parent.

CustomAxisTick(AxisBase, double, string)

Constructor.

public CustomAxisTick(AxisBase owner, double axisValue, string labelText)

Parameters

owner AxisBase

Parent.

axisValue double

Value on axis.

labelText string

Label text.

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

owner AxisBase

Parent.

axisValue double

Value on axis.

labelText string

Label text.

tickLength int

Tick length in pixels.

visible bool

Visibility.

color Color

Color.

style CustomTickStyle

Style, is grid or tick visible, or both.

Properties

AxisValue

Value at axis.

public double AxisValue { get; set; }

Property Value

double

Color

Used to set Line color.

public Color Color { get; set; }

Property Value

Color

LabelText

Used to set Label text.

public string LabelText { get; set; }

Property Value

string

Length

Used to set Tick Length.

public int Length { get; set; }

Property Value

int

Style

Used to set Custom Tick And Grid Style.

public CustomTickStyle Style { get; set; }

Property Value

CustomTickStyle

Visible

Used to define visibility.

public bool Visible { get; set; }

Property Value

bool

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

String.