Skip to content
ChartForgeX
Class

HtmlChartHighlightOptions

ChartForgeX.Interactivity.Html

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

Configures transient HTML emphasis without changing native SVG or PNG paint.

Inheritance

  • object
  • HtmlChartHighlightOptions

Usage

Explore 30 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 16

Constructors

public HtmlChartHighlightOptions() #

Properties

public HtmlChartHighlightMode Mode { get; set; } #

Gets or sets the emphasis mode. Root-branch emphasis applies to Sunburst node targets; other chart families and legend targets retain their usual presentation.

public bool DimOthersWhileSelected { get; set; } #

Gets or sets whether unselected data marks recede while the chart has selected marks.

public HtmlChartHighlightStyle HighlightedItem { get; } #

Gets overrides for the active item, applied after its branch style.

public HtmlChartHighlightStyle HighlightedBranch { get; } #

Gets overrides shared by the active Sunburst root branch.

public HtmlChartHighlightStyle UnhighlightedItem { get; } #

Gets overrides for other items in the active branch, applied after the branch style.

public HtmlChartHighlightStyle UnhighlightedBranch { get; } #

Gets overrides for items in other Sunburst root branches.

Extension Methods

public static HtmlChartHighlightOptions DimOthersWhileSelected(HtmlChartHighlightOptions htmlChartHighlightOptions, bool value = true) #

Sets HtmlChartHighlightOptions.DimOthersWhileSelected: Gets or sets whether unselected data marks recede while the chart has selected marks.

Parameters

htmlChartHighlightOptions ChartForgeX.Interactivity.Html.HtmlChartHighlightOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

HtmlChartHighlightOptions The same instance.

Examples

// C# initializer or property                                                                               // C# fluent
new global::ChartForgeX.Interactivity.Html.HtmlChartHighlightOptions { DimOthersWhileSelected = value };    htmlChartHighlightOptions.DimOthersWhileSelected(value);
public static HtmlChartHighlightOptions HighlightedBranch(HtmlChartHighlightOptions htmlChartHighlightOptions, Action<HtmlChartHighlightStyle> configure) #

Configures HtmlChartHighlightOptions.HighlightedBranch in place: Gets overrides shared by the active Sunburst root branch.

Parameters

htmlChartHighlightOptions ChartForgeX.Interactivity.Html.HtmlChartHighlightOptions required
The instance.
configure System.Action<ChartForgeX.Interactivity.Html.HtmlChartHighlightStyle> required
Configures the value.

Returns

HtmlChartHighlightOptions The same instance.
public static HtmlChartHighlightOptions HighlightedItem(HtmlChartHighlightOptions htmlChartHighlightOptions, Action<HtmlChartHighlightStyle> configure) #

Configures HtmlChartHighlightOptions.HighlightedItem in place: Gets overrides for the active item, applied after its branch style.

Parameters

htmlChartHighlightOptions ChartForgeX.Interactivity.Html.HtmlChartHighlightOptions required
The instance.
configure System.Action<ChartForgeX.Interactivity.Html.HtmlChartHighlightStyle> required
Configures the value.

Returns

HtmlChartHighlightOptions The same instance.
public static HtmlChartHighlightOptions Mode(HtmlChartHighlightOptions htmlChartHighlightOptions, HtmlChartHighlightMode value) #

Sets HtmlChartHighlightOptions.Mode: Gets or sets the emphasis mode. Root-branch emphasis applies to Sunburst node targets; other chart families and legend targets retain their usual presentation.

Parameters

htmlChartHighlightOptions ChartForgeX.Interactivity.Html.HtmlChartHighlightOptions required
The instance.
value ChartForgeX.Interactivity.Html.HtmlChartHighlightMode required
The value.

Returns

HtmlChartHighlightOptions The same instance.

Examples

// C# initializer or property                                                             // C# fluent
new global::ChartForgeX.Interactivity.Html.HtmlChartHighlightOptions { Mode = value };    htmlChartHighlightOptions.Mode(value);
public static HtmlChartHighlightOptions UnhighlightedBranch(HtmlChartHighlightOptions htmlChartHighlightOptions, Action<HtmlChartHighlightStyle> configure) #

Configures HtmlChartHighlightOptions.UnhighlightedBranch in place: Gets overrides for items in other Sunburst root branches.

Parameters

htmlChartHighlightOptions ChartForgeX.Interactivity.Html.HtmlChartHighlightOptions required
The instance.
configure System.Action<ChartForgeX.Interactivity.Html.HtmlChartHighlightStyle> required
Configures the value.

Returns

HtmlChartHighlightOptions The same instance.
public static HtmlChartHighlightOptions UnhighlightedItem(HtmlChartHighlightOptions htmlChartHighlightOptions, Action<HtmlChartHighlightStyle> configure) #

Configures HtmlChartHighlightOptions.UnhighlightedItem in place: Gets overrides for other items in the active branch, applied after the branch style.

Parameters

htmlChartHighlightOptions ChartForgeX.Interactivity.Html.HtmlChartHighlightOptions required
The instance.
configure System.Action<ChartForgeX.Interactivity.Html.HtmlChartHighlightStyle> required
Configures the value.

Returns

HtmlChartHighlightOptions The same instance.