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
foregroundColorColorText color.
backgroundColorColorBackground color.
fontFontFont.
autoboolparam 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) severityMessageSeverityparam 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) offsetPointDoubleXYOffset from top-left corner of chart graph area in DIPs.
Properties
BackgroundColor
Background color.
public Color BackgroundColor { get; set; }
Property Value
CustomMessageSeverity
Auto messages MessageSeverity.
public MessageSeverity CustomMessageSeverity { get; set; }
Property Value
Font
Message font.
public Font Font { get; set; }
Property Value
ForegroundColor
Text color.
public Color ForegroundColor { get; set; }
Property Value
Offset
Offset from top-left corner of chart in dips.
public PointDoubleXY Offset { get; set; }
Property Value
SetChartMessageAsCustomMessage
Set ChartMessages as auto Custom messages.
public bool SetChartMessageAsCustomMessage { get; set; }