Skip to main content

Class GradientZoneAnnotation

Namespace: VelloSharp.ChartEngine.Annotations
Assembly: VelloSharp.ChartEngine.dll

Shaded gradient band spanning the pane height.

public sealed record GradientZoneAnnotation : ChartAnnotation, IEquatable<ChartAnnotation>, IEquatable<GradientZoneAnnotation>

Inheritance​

object ← ChartAnnotation ← GradientZoneAnnotation

Implements​

IEquatable<ChartAnnotation>, IEquatable<GradientZoneAnnotation>

Inherited Members​

ChartAnnotation.Kind, ChartAnnotation.Label, ChartAnnotation.Color, ChartAnnotation.TargetPaneId, object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Constructors​

GradientZoneAnnotation(double, double, ChartColor, ChartColor, string?)​

Shaded gradient band spanning the pane height.

public GradientZoneAnnotation(double MinValue, double MaxValue, ChartColor StartColor, ChartColor EndColor, string? Label = null)

Parameters​

MinValue double

MaxValue double

StartColor ChartColor

EndColor ChartColor

Label string?

Properties​

BorderThickness​

public double BorderThickness { get; init; }

Property Value​

double

EndColor​

public ChartColor EndColor { get; init; }

Property Value​

ChartColor

FillOpacity​

public double FillOpacity { get; init; }

Property Value​

double

MaxValue​

public double MaxValue { get; init; }

Property Value​

double

MinValue​

public double MinValue { get; init; }

Property Value​

double

SnapMode​

public AnnotationSnapMode SnapMode { get; init; }

Property Value​

AnnotationSnapMode

StartColor​

public ChartColor StartColor { get; init; }

Property Value​

ChartColor