Class HeatmapIndicatorVisualStyle
Per-visual / per-series renderer hints. Every nullable knob means "renderer chooses default"; specify a value only to override.
Visibility is host-owned and lives on
HeatmapIndicatorInstanceSettings.IsVisible — a hidden instance is
dropped by the controller before this style is ever inspected, so a
per-style visibility flag would be dead weight here.
TextColor is the colour of the text drawn over the visual (the price badge at the cutoff of a level line). null means "Auto": the renderer picks black or white for contrast with the badge colour.
Added in ATAS 8.0.15.
public sealed record HeatmapIndicatorVisualStyle
- Inheritance
-
objectHeatmapIndicatorVisualStyle
- Extension Methods
Constructors
HeatmapIndicatorVisualStyle(string?, string?, float?, int, string?, string?, string?, string?, bool?, HeatmapIndicatorColorScheme?)
Per-visual / per-series renderer hints. Every nullable knob means "renderer chooses default"; specify a value only to override.
Visibility is host-owned and lives on
HeatmapIndicatorInstanceSettings.IsVisible — a hidden instance is
dropped by the controller before this style is ever inspected, so a
per-style visibility flag would be dead weight here.
TextColor is the colour of the text drawn over the visual (the price badge at the cutoff of a level line). null means "Auto": the renderer picks black or white for contrast with the badge colour.
Not in ATAS 8.0.15 yet: available from the next version.
public HeatmapIndicatorVisualStyle(string? Color = null, string? TextColor = null, float? Thickness = null, int ZIndex = 0, string? Label = null, string? VisibilityGroup = null, string? LineType = null, string? LineDashStyle = null, bool? ShowPrice = null, HeatmapIndicatorColorScheme? ColorScheme = null)
Parameters
ColorstringThe colour of the visual as a hex string (for example
#2196F3); white when not set.TextColorstringThe colour of the text drawn over the visual; null is Auto (black or white for contrast).
Thicknessfloat?The line width in device-independent pixels; the renderer's default when not set.
ZIndexintThe drawing order among the visuals; not used by the renderer yet.
LabelstringThe label of the visual in its price badge and tooltip; the visual's own label when not set.
VisibilityGroupstringA group name for visuals shown and hidden together; not used by the renderer yet.
LineTypestringHow far a level line extends:
Fullacross the whole heatmap, otherwise to the cutoff.LineDashStylestringThe dash pattern of a line:
Dash,Dot,DashDot,DashDotDot; solid otherwise.ShowPricebool?Whether a level line shows its price badge at the cutoff; shown unless false.
ColorSchemeHeatmapIndicatorColorSchemeThe colours of a multi-colour visual; single-colour visuals use
Color.
Properties
Color
The colour of the visual as a hex string (for example #2196F3); white when not set.
public string? Color { get; init; }
Property Value
- string
ColorScheme
The colours of a multi-colour visual; single-colour visuals use Color.
public HeatmapIndicatorColorScheme? ColorScheme { get; init; }
Property Value
Label
The label of the visual in its price badge and tooltip; the visual's own label when not set.
public string? Label { get; init; }
Property Value
- string
LineDashStyle
The dash pattern of a line: Dash, Dot, DashDot, DashDotDot;
solid otherwise.
public string? LineDashStyle { get; init; }
Property Value
- string
LineType
How far a level line extends: Full across the whole heatmap, otherwise to the cutoff.
public string? LineType { get; init; }
Property Value
- string
ShowPrice
Whether a level line shows its price badge at the cutoff; shown unless false.
public bool? ShowPrice { get; init; }
Property Value
- bool?
TextColor
The colour of the text drawn over the visual; null is Auto (black or white for contrast).
<p>Not in ATAS 8.0.15 yet: available from the next version.</p>
public string? TextColor { get; init; }
Property Value
- string
Thickness
The line width in device-independent pixels; the renderer's default when not set.
public float? Thickness { get; init; }
Property Value
- float?
VisibilityGroup
A group name for visuals shown and hidden together; not used by the renderer yet.
public string? VisibilityGroup { get; init; }
Property Value
- string
ZIndex
The drawing order among the visuals; not used by the renderer yet.
public int ZIndex { get; init; }
Property Value
- int
Methods
Deconstruct(out string?, out string?, out float?, out int, out string?, out string?, out string?, out string?, out bool?, out HeatmapIndicatorColorScheme?)
public void Deconstruct(out string? Color, out string? TextColor, out float? Thickness, out int ZIndex, out string? Label, out string? VisibilityGroup, out string? LineType, out string? LineDashStyle, out bool? ShowPrice, out HeatmapIndicatorColorScheme? ColorScheme)
Parameters
ColorstringTextColorstringThicknessfloat?ZIndexintLabelstringVisibilityGroupstringLineTypestringLineDashStylestringShowPricebool?ColorSchemeHeatmapIndicatorColorScheme
Equals(HeatmapIndicatorVisualStyle?)
public bool Equals(HeatmapIndicatorVisualStyle? other)
Parameters
Returns
- bool
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
- bool
GetHashCode()
public override int GetHashCode()
Returns
- int
ToString()
public override string ToString()
Returns
- string
Operators
operator ==(HeatmapIndicatorVisualStyle?, HeatmapIndicatorVisualStyle?)
public static bool operator ==(HeatmapIndicatorVisualStyle? left, HeatmapIndicatorVisualStyle? right)
Parameters
Returns
- bool
operator !=(HeatmapIndicatorVisualStyle?, HeatmapIndicatorVisualStyle?)
public static bool operator !=(HeatmapIndicatorVisualStyle? left, HeatmapIndicatorVisualStyle? right)
Parameters
Returns
- bool