Skip to content
ChartForgeX
Class

HtmlChartHighlightStyleFluent

ChartForgeX.Interactivity.Html

Namespace
ChartForgeX.Interactivity.Html
Assembly
ChartForgeX.Interactivity.Html
Modifiers
static

The fluent methods of HtmlChartHighlightStyle, generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.

Inheritance

  • object
  • HtmlChartHighlightStyleFluent

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);