Table of Contents

Class HighLowSeries

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

HighLow series.

[TypeConverter(typeof(ExpandableObjectConverter))]
public class HighLowSeries : HighLowSeriesBase, IChartNode, IDisposable, IHighlightingItem, ITrackable, IRealtimeShiftable, ISingleLineSeriesSolveResultReturningSeries
Inheritance
HighLowSeries
Implements
Inherited Members

Constructors

HighLowSeries()

Constructor for Form designer list editor

public HighLowSeries()

HighLowSeries(ViewXY, AxisX, AxisY)

Constructor.

public HighLowSeries(ViewXY owner, AxisX axisX, AxisY axisY)

Parameters

owner ViewXY

Parent.

axisX AxisX

X-axis you want to bind.

axisY AxisY

Y-axis you want to bind.

Properties

LineStyleHigh

Line style for high edge.

public LineStyle LineStyleHigh { get; set; }

Property Value

LineStyle

LineStyleLow

Line style for low edge.

public LineStyle LineStyleLow { get; set; }

Property Value

LineStyle

LineVisibleHigh

High line visible.

public bool LineVisibleHigh { get; set; }

Property Value

bool

LineVisibleLow

Low line visible.

public bool LineVisibleLow { get; set; }

Property Value

bool

PointStyleHigh

Point style high

public PointShapeStyle PointStyleHigh { get; set; }

Property Value

PointShapeStyle

PointStyleLow

Point style low

public PointShapeStyle PointStyleLow { get; set; }

Property Value

PointShapeStyle

Points

Points array

public HighLowSeriesPoint[] Points { get; set; }

Property Value

HighLowSeriesPoint[]

PointsVisibleHigh

High points visible.

public bool PointsVisibleHigh { get; set; }

Property Value

bool

PointsVisibleLow

Low points visible.

public bool PointsVisibleLow { get; set; }

Property Value

bool

ReverseFill

Reverse fill.

public Fill ReverseFill { get; set; }

Property Value

Fill

Methods

AddValues(HighLowSeriesPoint[])

Add values.

public int AddValues(HighLowSeriesPoint[] values)

Parameters

values HighLowSeriesPoint[]

Values array.

Returns

int

Total point count after adding.

Clear()

Clear all data.

public override void Clear()

Construct()

Create members.

protected override void Construct()

CreateLineStyleLow()

Create low line style.

protected virtual void CreateLineStyleLow()

CreatePointStyleHigh()

Create high point style.

protected virtual void CreatePointStyleHigh()

CreatePointStyleLow()

Create low point style.

protected virtual void CreatePointStyleLow()

CreateTitle()

Create title.

protected override void CreateTitle()

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.

GetPoint(int, out HighLowSeriesPoint)

Get point by given index.

public bool GetPoint(int index, out HighLowSeriesPoint point)

Parameters

index int

Index of point to get.

point HighLowSeriesPoint

Point.

Returns

bool

False if invalid index is given, otherwise true.

LoadFromCSV(string, SeparatorCSV)

Loads series data from a CSV file.

public override bool LoadFromCSV(string file, SeparatorCSV separator)

Parameters

file string

CSV file. If file does not exist, LoadFromCSV returns false.

separator SeparatorCSV

Value and floating point number separator.

Returns

bool

True if import succeeds. Otherwise false.

SaveToCSV(string, SeparatorCSV)

Saves series data into CSV file.

public override bool SaveToCSV(string file, SeparatorCSV separator)

Parameters

file string

Target file. If file already exists, it will be overwritten.

separator SeparatorCSV

Value and floating point number separator definition

Returns

bool

True if save is successful