ChartAnnotation
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.2.0.0)
Adds a reference line or bounded band to a chart axis.
- C#
- VB.NET
public class ChartAnnotation
Public Class ChartAnnotation
- Axis Gets or sets the coordinate axis.
- Value Gets or sets the line coordinate or band starting coordinate.
- EndValue Gets or sets the band ending coordinate; null draws a line.
Example:
chart.Annotations.Add(new ChartAnnotation { Value = 80, Text = "SLA", Tone = ChartTone.Danger });
Constructors
ChartAnnotation()
Initializes a new instance of ChartAnnotation.
Properties
Axis
ChartAnnotationAxis: Gets or sets the coordinate axis. (Default: Y)
EndValue
Nullable<Double>: Gets or sets the band ending coordinate; null draws a line.
Text
String: Gets or sets the annotation label. (Default: "")
Tone
ChartTone: Gets or sets the semantic annotation color. (Default: Warning)
Value
Double: Gets or sets the line coordinate or band starting coordinate. (Default: 0)