Table of Contents

Class LineStyle

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

Line drawing parameters

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

Constructors

LineStyle()

Constructor for Form designer list editor

public LineStyle()

LineStyle(IChartNode)

Constructor.

public LineStyle(IChartNode owner)

Parameters

owner IChartNode

Parent.

Properties

AntiAliasing

Gets and sets anti-aliased line. Drawing anti-aliased draws the line with smooth edges, but will increase CPU/GPU overhead. In order to have an effect, AntiAliasLevel must be set to a value higher than 1.

public LineAntialias AntiAliasing { get; set; }

Property Value

LineAntialias

Color

Gets and sets line color.

public Color Color { get; set; }

Property Value

Color

Pattern

Gets and sets pattern of line.

public LinePattern Pattern { get; set; }

Property Value

LinePattern

PatternScale

Gets and sets pattern scale.

public int PatternScale { get; set; }

Property Value

int

Width

Gets and sets width of line.

public double Width { get; set; }

Property Value

double

Methods

CompareTo(LineStyle)

Comparison method to check if given instance refers to this.

public int CompareTo(LineStyle other)

Parameters

other LineStyle
param other M:LightningChartLib.WinForms.Charting.LineStyle.CompareTo(LightningChartLib.WinForms.Charting.LineStyle)

Returns

int
returns M:LightningChartLib.WinForms.Charting.LineStyle.CompareTo(LightningChartLib.WinForms.Charting.LineStyle)

CompareTo(object)

Comparison method to check if given instance refers to this.

public int CompareTo(object obj)

Parameters

obj object
param obj M:LightningChartLib.WinForms.Charting.LineStyle.CompareTo(System.Object)

Returns

int
returns M:LightningChartLib.WinForms.Charting.LineStyle.CompareTo(System.Object)

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