Skip to content

ManualChartReferenceRule

ClassChartGuruChartGuru
public class ManualChartReferenceRule

Selects a target chart for a manual data source by direct reference, hierarchy lookup, or matching rule.

[Tooltip("When true the rule is a horizontal line; when false it is a vertical line.")]
public bool IsHorizontal

Returns

System.Boolean

[Tooltip("The axis value at which the rule line is placed.")]
public float Value

Returns

System.Single

public Color Color

Returns

UnityEngine.Color

[Tooltip("Opacity of the rule line (0 = fully transparent, 1 = fully opaque).")]
[Range(0, 1)]
public float Opacity

Returns

System.Single

[Tooltip("Stroke width of the rule line in pixels.")]
[Range(0.1, 10)]
public float LineWidth

Returns

System.Single

[Tooltip("Dash pattern (alternating dash/gap lengths in pixels). Empty for a solid line. Swift Charts: StrokeStyle(dash:[4, 2]).")]
public float[] Dash

Returns

System.Single[]

public AnnotationPosition AnnotationPosition

Returns

ChartGuru.AnnotationPosition

public AnnotationAlignment AnnotationAlignment

Returns

ChartGuru.AnnotationAlignment

public string AnnotationText

Returns

System.String

public Color AnnotationTextColor

Returns

UnityEngine.Color

public ManualChartReferenceRule Clone()

Creates an independent copy of this Manual Chart Reference Rule; later configuration changes do not affect the original instance.

Returns

ChartGuru.ManualChartReferenceRule

public ManualChartReferenceRule()