ChartLayerAnnotation
public sealed class ChartLayerAnnotationA caption drawn next to every mark of a layer, as Swift Charts' .annotation modifier with fixed text;
the usual use is the label of a target or threshold rule.
Methods
Section titled “Methods”
Clone()
Section titled “Clone()”public ChartLayerAnnotation Clone()Returns a copy.
Returns
ChartGuru.ChartLayerAnnotation
Constructors
Section titled “Constructors”
ChartLayerAnnotation()
Section titled “ChartLayerAnnotation()”public ChartLayerAnnotation()Properties
Section titled “Properties”
public string Text { get; set; }Returns
System.String
Position
Section titled “Position”public AnnotationPosition Position { get; set; }Returns
ChartGuru.AnnotationPosition
Alignment
Section titled “Alignment”public AnnotationAlignment Alignment { get; set; }Returns
ChartGuru.AnnotationAlignment
OverrideTextColor
Section titled “OverrideTextColor”public bool OverrideTextColor { get; set; }Returns
System.Boolean
TextColor
Section titled “TextColor”public Color TextColor { get; set; }Returns
UnityEngine.Color
FontSize
Section titled “FontSize”public float FontSize { get; set; }Returns
System.Single
OverrideFontStyle
Section titled “OverrideFontStyle”public bool OverrideFontStyle { get; set; }Returns
System.Boolean
FontStyle
Section titled “FontStyle”public ChartFontStyle FontStyle { get; set; }Returns
ChartGuru.ChartFontStyle
OverrideSpacing
Section titled “OverrideSpacing”public bool OverrideSpacing { get; set; }Returns
System.Boolean
Spacing
Section titled “Spacing”public float Spacing { get; set; }Returns
System.Single
Overflow
Section titled “Overflow”public AnnotationOverflowConfig Overflow { get; set; }Keeps the caption inside the chart, as Swift Charts' overflowResolution.
Returns
ChartGuru.AnnotationOverflowConfig
IsEmpty
Section titled “IsEmpty”public bool IsEmpty { get; }True when there is no caption to draw.
Returns
System.Boolean