API Reference
Class
ChartAnnotation
Represents a static line or band annotation on a chart.
Inheritance
- Object
- ChartAnnotation
Usage
Explore 1 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 1
- Property Chart.Annotations
Constructors
public ChartAnnotation(ChartAnnotationKind kind, Double value, Double? endValue, String label, ChartColor color, Double opacity, Boolean showLabel = true) #Initializes a new instance of the ChartAnnotation class.
Parameters
- kind ChartForgeX.Core.ChartAnnotationKind
- The annotation kind.
- value System.Double
- The first annotation value.
- endValue System.Double?
- The second annotation value for bands.
- label System.String
- The annotation label.
- color ChartForgeX.Primitives.ChartColor
- The annotation color.
- opacity System.Double
- The annotation opacity used for band fills.
- showLabel System.Boolean = true
- Whether to paint the label. False retains its accessible and semantic content.
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?
Properties
public ChartAnnotationKind Kind { get; } #Gets the annotation kind.
public Double Value { get; } #Gets the first annotation value.
public Double? EndValue { get; } #Gets the second annotation value for band annotations.
public String Label { get; } #Gets the annotation label.
public Boolean ShowLabel { get; } #Gets whether the label is painted beside the annotation. A hidden label remains available in accessible descriptions and exported semantic metadata.
public ChartColor Color { get; } #Gets the annotation color.
public Double Opacity { get; } #Gets the annotation opacity used for band fills.