Table of Contents

Class CustomMessageOptions

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

Options for rendering custom messages (colors and font size).

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

Constructors

CustomMessageOptions()

Initializes a new instance with default values.

public CustomMessageOptions()

CustomMessageOptions(Color, Color, Font, bool, MessageSeverity, PointDoubleXY)

Initializes a new instance with the specified values.

public CustomMessageOptions(Color foregroundColor, Color backgroundColor, Font font, bool auto, MessageSeverity severity, PointDoubleXY offset)

Parameters

foregroundColor Color

Text color.

backgroundColor Color

Background color.

font Font

Font.

auto bool
param auto M:LightningChartLib.WinForms.Charting.CustomMessageOptions.#ctor(System.Drawing.Color,System.Drawing.Color,System.Drawing.Font,System.Boolean,LightningChartLib.WinForms.Charting.MessageSeverity,LightningChartLib.WinForms.Charting.PointDoubleXY)
severity MessageSeverity
param severity M:LightningChartLib.WinForms.Charting.CustomMessageOptions.#ctor(System.Drawing.Color,System.Drawing.Color,System.Drawing.Font,System.Boolean,LightningChartLib.WinForms.Charting.MessageSeverity,LightningChartLib.WinForms.Charting.PointDoubleXY)
offset PointDoubleXY

Offset from top-left corner of chart graph area in DIPs.

Properties

BackgroundColor

Background color.

public Color BackgroundColor { get; set; }

Property Value

Color

CustomMessageSeverity

Auto messages MessageSeverity.

public MessageSeverity CustomMessageSeverity { get; set; }

Property Value

MessageSeverity

Font

Message font.

public Font Font { get; set; }

Property Value

Font

ForegroundColor

Text color.

public Color ForegroundColor { get; set; }

Property Value

Color

Offset

Offset from top-left corner of chart in dips.

public PointDoubleXY Offset { get; set; }

Property Value

PointDoubleXY

SetChartMessageAsCustomMessage

Set ChartMessages as auto Custom messages.

public bool SetChartMessageAsCustomMessage { get; set; }

Property Value

bool