Skip to content
ChartForgeX
Class

HtmlChartHighlightStyle

ChartForgeX.Interactivity.Html

Namespace
ChartForgeX.Interactivity.Html
Assembly
ChartForgeX.Interactivity.Html
Modifiers
sealed
Attributes
Fluent

Sparse overrides for HTML highlight paint; null retains the preceding style.

Inheritance

  • object
  • HtmlChartHighlightStyle

Usage

Explore 24 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.

Accepted by parameters 14

Constructors

public HtmlChartHighlightStyle() #

Properties

public ChartColor? Stroke { get; set; } #

Gets or sets the additional outline color. Null retains the preceding color; a fully transparent color explicitly hides the outline. Native fill, hatch and stroke remain intact.

public double? StrokeWidth { get; set; } #

Gets or sets the outline's outward width in SVG units. Values must be finite and non-negative. Zero explicitly hides the outline. A color without a width uses 2.5 units.

public double? Opacity { get; set; } #

Gets or sets the transient opacity, from zero through one. Zero keeps the native mark available for pointer and keyboard acquisition; authored or host-hidden marks stay unavailable. Selection retains its existing full-strength emphasis.

Extension Methods

public static HtmlChartHighlightStyle Opacity(HtmlChartHighlightStyle htmlChartHighlightStyle, double? value) #

Sets HtmlChartHighlightStyle.Opacity: Gets or sets the transient opacity, from zero through one. Zero keeps the native mark available for pointer and keyboard acquisition; authored or host-hidden marks stay unavailable. Selection retains its existing full-strength emphasis.

Parameters

htmlChartHighlightStyle ChartForgeX.Interactivity.Html.HtmlChartHighlightStyle required
The instance.
value double? required
The value.

Returns

HtmlChartHighlightStyle The same instance.

Examples

// C# initializer or property                                                              // C# fluent
new global::ChartForgeX.Interactivity.Html.HtmlChartHighlightStyle { Opacity = value };    htmlChartHighlightStyle.Opacity(value);
public static HtmlChartHighlightStyle Stroke(HtmlChartHighlightStyle htmlChartHighlightStyle, ChartColor? value) #

Sets HtmlChartHighlightStyle.Stroke: Gets or sets the additional outline color. Null retains the preceding color; a fully transparent color explicitly hides the outline. Native fill, hatch and stroke remain intact.

Parameters

htmlChartHighlightStyle ChartForgeX.Interactivity.Html.HtmlChartHighlightStyle required
The instance.
value ChartForgeX.Primitives.ChartColor? required
The value.

Returns

HtmlChartHighlightStyle The same instance.

Examples

// C# initializer or property                                                             // C# fluent
new global::ChartForgeX.Interactivity.Html.HtmlChartHighlightStyle { Stroke = value };    htmlChartHighlightStyle.Stroke(value);
public static HtmlChartHighlightStyle StrokeWidth(HtmlChartHighlightStyle htmlChartHighlightStyle, double? value) #

Sets HtmlChartHighlightStyle.StrokeWidth: Gets or sets the outline's outward width in SVG units. Values must be finite and non-negative. Zero explicitly hides the outline. A color without a width uses 2.5 units.

Parameters

htmlChartHighlightStyle ChartForgeX.Interactivity.Html.HtmlChartHighlightStyle required
The instance.
value double? required
The value.

Returns

HtmlChartHighlightStyle The same instance.

Examples

// C# initializer or property                                                                  // C# fluent
new global::ChartForgeX.Interactivity.Html.HtmlChartHighlightStyle { StrokeWidth = value };    htmlChartHighlightStyle.StrokeWidth(value);