Table of Contents

Class TimeSeriesDisplayOptions

Namespace
BlueM.Wave
Assembly
Wave.dll

Class for storing time series display options

public class TimeSeriesDisplayOptions
Inheritance
TimeSeriesDisplayOptions
Inherited Members

Constructors

TimeSeriesDisplayOptions()

Creates a new TimeSeriesDisplayOption instance with default properties

public TimeSeriesDisplayOptions()

Remarks

Default Color is empty in order to allow automatic color assignment by the chart

Properties

Color

Color

public Color Color { get; set; }

Property Value

Color

Remarks

Default color is empty. When empty, color is automatically assigned by the chart

LineStyle

Line style

public DashStyle LineStyle { get; set; }

Property Value

DashStyle

LineWidth

Line width

public int LineWidth { get; set; }

Property Value

int

ShowPoints

Flag to show series points

public bool ShowPoints { get; set; }

Property Value

bool

Methods

Copy()

Returns a copy of the instance

public TimeSeriesDisplayOptions Copy()

Returns

TimeSeriesDisplayOptions

SetColor(string)

Sets the color from a color string

public void SetColor(string colorString)

Parameters

colorString string

the color string

Remarks

Must be either the name of a known color: https://learn.microsoft.com/en-us/dotnet/api/system.drawing.knowncolor or a hexadecimal representation of ARGB values

SetLineStyle(string)

Sets the line style from a string

public void SetLineStyle(string lineStyle)

Parameters

lineStyle string

the line style as string

Remarks

SetLineWidth(string)

Sets the line width from a string

public void SetLineWidth(string lineWidth)

Parameters

lineWidth string

line width as string

Remarks

string must be convertible to an integer

SetShowPoints(string)

Sets the ShowPoints property from a string

public void SetShowPoints(string showPoints)

Parameters

showPoints string

whether to show points

Remarks

string must be convertible to a boolean