Skip to content
ChartForgeX
Class

HtmlChartInteractionOptions

ChartForgeX.Interactivity.Html

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

Holds settings used by the self-contained HTML interaction adapter.

Inheritance

  • object
  • HtmlChartInteractionOptions

Usage

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

Returned or exposed by 54

Accepted by parameters 72

Constructors

public HtmlChartInteractionOptions() #

Initializes a new instance of the HtmlChartInteractionOptions class.

Properties

public ChartInteractionOptions Interaction { get; } #

Gets the host-neutral interaction options consumed by the HTML adapter.

public string? PageTitle { get; set; } #

Gets or sets the optional HTML document title. When null, the chart title is used.

public string? IdScope { get; set; } #

Gets or sets a deterministic SVG ID scope for the embedded chart.

public string? Nonce { get; set; } #

Gets or sets the content security policy nonce. Script elements carry it, and the output has no style attributes: every inline style and style element moves into one style element with this nonce (see HtmlStrictStyles), and the runtime restores the inline styles through the CSS object model.

public bool IncludeResetButton { get; set; } #

Gets or sets whether the generated chart includes a contextual "Reset view" button. The button stays hidden until the reader selects marks, zooms, pans, brushes, mutes, or isolates series, and hides again after the view is reset. Resetting also clears selections, focus trails, and pinned tooltips.

public bool IncludeContextMenu { get; set; } #

Gets or sets whether right-click and the Context Menu key expose the chart's existing reset and export actions.

public IList<HtmlChartContextMenuItem> ContextMenuItems { get; } #

Gets host-defined context-menu items, listed after the built-in actions. Any item enables the menu.

public string? PdfFontUrl { get; set; } #

Gets or sets the URL of a static TrueType font that replaces the default Archivo PDF family.

public string? PdfBoldFontUrl { get; set; } #

Gets or sets the optional bold face for the family supplied through HtmlChartInteractionOptions.PdfFontUrl.

public HtmlChartMotionOptions Motion { get; } #

Gets load and transition motion options. Motion is on by default and honours reduced-motion preferences.

public HtmlAssetReferences? ExternalAssets { get; set; } #

Gets or sets shared asset references. When set, HtmlInteractiveChartRenderer.RenderPage links the runtime and stylesheet from HtmlAssetReferences.BasePath instead of inlining them; write the files once per bundle with HtmlInteractiveAssetFiles.Charts using these options. Null (the default) keeps pages self-contained. Fragments are unaffected.

public HtmlChartRuntime Runtime { get; set; } #

Gets or sets whether output includes native host APIs or a feature-selected offline reader runtime.

public HtmlChartResponsiveLayout ResponsiveLayout { get; set; } #

Gets or sets how the adapter protects chart readability in narrow containers.

public bool CaptureNativeValueSource { get; set; } #

Gets or sets opt-in full authored native Pie/Donut raw values or finite Bubble, RangeBand/RangeArea, ErrorBar and Candlestick/OHLC component capture, including actual native domain and membership facts.

public HtmlChartTextPresentation TextPresentation { get; set; } #

Gets or sets how HTML supplies prepared text. Automatic delivers eligible owned faces and keeps native contours for unsupported or unavailable browser faces.

public HtmlChartAdaptiveLayoutOptions Adaptive { get; } #

Gets the native narrow drawing and container breakpoint used by HtmlChartResponsiveLayout.Adaptive.

public HtmlChartToolbarLayout Toolbar { get; set; } #

Gets or sets the toolbar presentation. The default is the floating HtmlChartToolbarLayout.Compact.

public HtmlChartFrameAlignment FrameAlignment { get; set; } #

Gets or sets where the chart frame sits when its container is wider than the chart. The default is HtmlChartFrameAlignment.Center.

public HtmlChartTooltipOptions Tooltip { get; } #

Gets the tooltip content, acquisition, timing and position options.

public HtmlChartCrosshairOptions Crosshair { get; } #

Gets the crosshair presentation options.

public HtmlChartHighlightOptions Highlight { get; } #

Gets the transient mark and branch emphasis options.

public HtmlChartProgressEditingOptions ProgressEditing { get; } #

Gets opt-in progress editing through the existing native host-preparation connection.

public HtmlChartScheduleEditingOptions ScheduleEditing { get; } #

Gets opt-in Gantt lane editing: add, move, resize, regroup and delete with host validation. Off by default.

public HtmlChartXNavigationOptions XNavigation { get; } #

Gets optional source-domain navigator, range preset and position scrollbar controls.

public HtmlChartDrilldownOptions Drilldown { get; } #

Gets the child charts that bar and line categories open, embedded or supplied by the host on demand.

public HtmlChartLocalization Localization { get; } #

Gets HTML control translations, language and direction independently from native data formatting.

Extension Methods

public static HtmlChartInteractionOptions Adaptive(HtmlChartInteractionOptions htmlChartInteractionOptions, Action<HtmlChartAdaptiveLayoutOptions> configure) #

Configures HtmlChartInteractionOptions.Adaptive in place: Gets the native narrow drawing and container breakpoint used by HtmlChartResponsiveLayout.Adaptive.

Parameters

htmlChartInteractionOptions ChartForgeX.Interactivity.Html.HtmlChartInteractionOptions required
The instance.
configure System.Action<ChartForgeX.Interactivity.Html.HtmlChartAdaptiveLayoutOptions> required
Configures the value.

Returns

HtmlChartInteractionOptions The same instance.
public static HtmlChartInteractionOptions CaptureNativeValueSource(HtmlChartInteractionOptions htmlChartInteractionOptions, bool value = true) #

Sets HtmlChartInteractionOptions.CaptureNativeValueSource: Gets or sets opt-in full authored native Pie/Donut raw values or finite Bubble, RangeBand/RangeArea, ErrorBar and Candlestick/OHLC component capture, including actual native domain and membership facts.

Parameters

htmlChartInteractionOptions ChartForgeX.Interactivity.Html.HtmlChartInteractionOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

HtmlChartInteractionOptions The same instance.

Examples

// C# initializer or property                                                                                   // C# fluent
new global::ChartForgeX.Interactivity.Html.HtmlChartInteractionOptions { CaptureNativeValueSource = value };    htmlChartInteractionOptions.CaptureNativeValueSource(value);
public static HtmlChartInteractionOptions ContextMenuItem(HtmlChartInteractionOptions htmlChartInteractionOptions, HtmlChartContextMenuItem item) #

Adds an item to HtmlChartInteractionOptions.ContextMenuItems: Gets host-defined context-menu items, listed after the built-in actions. Any item enables the menu.

Parameters

htmlChartInteractionOptions ChartForgeX.Interactivity.Html.HtmlChartInteractionOptions required
The instance.
item ChartForgeX.Interactivity.Html.HtmlChartContextMenuItem required
The item.

Returns

HtmlChartInteractionOptions The same instance.
public static HtmlChartInteractionOptions ContextMenuItems(HtmlChartInteractionOptions htmlChartInteractionOptions, IEnumerable<HtmlChartContextMenuItem> items) #

Adds items to HtmlChartInteractionOptions.ContextMenuItems: Gets host-defined context-menu items, listed after the built-in actions. Any item enables the menu.

Parameters

htmlChartInteractionOptions ChartForgeX.Interactivity.Html.HtmlChartInteractionOptions required
The instance.
items System.Collections.Generic.IEnumerable<ChartForgeX.Interactivity.Html.HtmlChartContextMenuItem> required
The items, in order.

Returns

HtmlChartInteractionOptions The same instance.
public static HtmlChartInteractionOptions Crosshair(HtmlChartInteractionOptions htmlChartInteractionOptions, Action<HtmlChartCrosshairOptions> configure) #

Configures HtmlChartInteractionOptions.Crosshair in place: Gets the crosshair presentation options.

Parameters

htmlChartInteractionOptions ChartForgeX.Interactivity.Html.HtmlChartInteractionOptions required
The instance.
configure System.Action<ChartForgeX.Interactivity.Html.HtmlChartCrosshairOptions> required
Configures the value.

Returns

HtmlChartInteractionOptions The same instance.
public static HtmlChartInteractionOptions Drilldown(HtmlChartInteractionOptions htmlChartInteractionOptions, Action<HtmlChartDrilldownOptions> configure) #

Configures HtmlChartInteractionOptions.Drilldown in place: Gets the child charts that bar and line categories open, embedded or supplied by the host on demand.

Parameters

htmlChartInteractionOptions ChartForgeX.Interactivity.Html.HtmlChartInteractionOptions required
The instance.
configure System.Action<ChartForgeX.Interactivity.Html.HtmlChartDrilldownOptions> required
Configures the value.

Returns

HtmlChartInteractionOptions The same instance.
ExternalAssets 2 overloads
public static HtmlChartInteractionOptions ExternalAssets(HtmlChartInteractionOptions htmlChartInteractionOptions, HtmlAssetReferences? value) #

Sets HtmlChartInteractionOptions.ExternalAssets: Gets or sets shared asset references. When set, HtmlInteractiveChartRenderer.RenderPage links the runtime and stylesheet from HtmlAssetReferences.BasePath instead of inlining them; write the files once per bundle with HtmlInteractiveAssetFiles.Charts using these options. Null (the default) keeps pages self-contained. Fragments are unaffected.

Parameters

htmlChartInteractionOptions ChartForgeX.Interactivity.Html.HtmlChartInteractionOptions required
The instance.
value ChartForgeX.Interactivity.Html.HtmlAssetReferences? required
The value.

Returns

HtmlChartInteractionOptions The same instance.

Examples

// C# initializer or property                                                                         // C# fluent
new global::ChartForgeX.Interactivity.Html.HtmlChartInteractionOptions { ExternalAssets = value };    htmlChartInteractionOptions.ExternalAssets(value);
public static HtmlChartInteractionOptions ExternalAssets(HtmlChartInteractionOptions htmlChartInteractionOptions, Action<HtmlAssetReferences> configure) #

Configures HtmlChartInteractionOptions.ExternalAssets in place: Gets or sets shared asset references. When set, HtmlInteractiveChartRenderer.RenderPage links the runtime and stylesheet from HtmlAssetReferences.BasePath instead of inlining them; write the files once per bundle with HtmlInteractiveAssetFiles.Charts using these options. Null (the default) keeps pages self-contained. Fragments are unaffected.

Parameters

htmlChartInteractionOptions ChartForgeX.Interactivity.Html.HtmlChartInteractionOptions required
The instance.
configure System.Action<ChartForgeX.Interactivity.Html.HtmlAssetReferences> required
Configures the value.

Returns

HtmlChartInteractionOptions The same instance.
public static HtmlChartInteractionOptions FrameAlignment(HtmlChartInteractionOptions htmlChartInteractionOptions, HtmlChartFrameAlignment value) #

Sets HtmlChartInteractionOptions.FrameAlignment: Gets or sets where the chart frame sits when its container is wider than the chart. The default is HtmlChartFrameAlignment.Center.

Parameters

htmlChartInteractionOptions ChartForgeX.Interactivity.Html.HtmlChartInteractionOptions required
The instance.
value ChartForgeX.Interactivity.Html.HtmlChartFrameAlignment required
The value.

Returns

HtmlChartInteractionOptions The same instance.

Examples

// C# initializer or property                                                                         // C# fluent
new global::ChartForgeX.Interactivity.Html.HtmlChartInteractionOptions { FrameAlignment = value };    htmlChartInteractionOptions.FrameAlignment(value);
public static HtmlChartInteractionOptions Highlight(HtmlChartInteractionOptions htmlChartInteractionOptions, Action<HtmlChartHighlightOptions> configure) #

Configures HtmlChartInteractionOptions.Highlight in place: Gets the transient mark and branch emphasis options.

Parameters

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

Returns

HtmlChartInteractionOptions The same instance.
public static HtmlChartInteractionOptions IdScope(HtmlChartInteractionOptions htmlChartInteractionOptions, string? value) #

Sets HtmlChartInteractionOptions.IdScope: Gets or sets a deterministic SVG ID scope for the embedded chart.

Parameters

htmlChartInteractionOptions ChartForgeX.Interactivity.Html.HtmlChartInteractionOptions required
The instance.
value string? required
The value.

Returns

HtmlChartInteractionOptions The same instance.

Examples

// C# initializer or property                                                                  // C# fluent
new global::ChartForgeX.Interactivity.Html.HtmlChartInteractionOptions { IdScope = value };    htmlChartInteractionOptions.IdScope(value);
public static HtmlChartInteractionOptions IncludeContextMenu(HtmlChartInteractionOptions htmlChartInteractionOptions, bool value = true) #

Sets HtmlChartInteractionOptions.IncludeContextMenu: Gets or sets whether right-click and the Context Menu key expose the chart's existing reset and export actions.

Parameters

htmlChartInteractionOptions ChartForgeX.Interactivity.Html.HtmlChartInteractionOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

HtmlChartInteractionOptions The same instance.

Examples

// C# initializer or property                                                                             // C# fluent
new global::ChartForgeX.Interactivity.Html.HtmlChartInteractionOptions { IncludeContextMenu = value };    htmlChartInteractionOptions.IncludeContextMenu(value);
public static HtmlChartInteractionOptions IncludeResetButton(HtmlChartInteractionOptions htmlChartInteractionOptions, bool value = true) #

Sets HtmlChartInteractionOptions.IncludeResetButton: Gets or sets whether the generated chart includes a contextual "Reset view" button. The button stays hidden until the reader selects marks, zooms, pans, brushes, mutes, or isolates series, and hides again after the view is reset. Resetting also clears selections, focus trails, and pinned tooltips.

Parameters

htmlChartInteractionOptions ChartForgeX.Interactivity.Html.HtmlChartInteractionOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

HtmlChartInteractionOptions The same instance.

Examples

// C# initializer or property                                                                             // C# fluent
new global::ChartForgeX.Interactivity.Html.HtmlChartInteractionOptions { IncludeResetButton = value };    htmlChartInteractionOptions.IncludeResetButton(value);
public static HtmlChartInteractionOptions Interaction(HtmlChartInteractionOptions htmlChartInteractionOptions, Action<ChartInteractionOptions> configure) #

Configures HtmlChartInteractionOptions.Interaction in place: Gets the host-neutral interaction options consumed by the HTML adapter.

Parameters

htmlChartInteractionOptions ChartForgeX.Interactivity.Html.HtmlChartInteractionOptions required
The instance.
configure System.Action<ChartForgeX.Interactivity.ChartInteractionOptions> required
Configures the value.

Returns

HtmlChartInteractionOptions The same instance.
public static HtmlChartInteractionOptions Localization(HtmlChartInteractionOptions htmlChartInteractionOptions, Action<HtmlChartLocalization> configure) #

Configures HtmlChartInteractionOptions.Localization in place: Gets HTML control translations, language and direction independently from native data formatting.

Parameters

htmlChartInteractionOptions ChartForgeX.Interactivity.Html.HtmlChartInteractionOptions required
The instance.
configure System.Action<ChartForgeX.Interactivity.Html.HtmlChartLocalization> required
Configures the value.

Returns

HtmlChartInteractionOptions The same instance.
public static HtmlChartInteractionOptions Motion(HtmlChartInteractionOptions htmlChartInteractionOptions, Action<HtmlChartMotionOptions> configure) #

Configures HtmlChartInteractionOptions.Motion in place: Gets load and transition motion options. Motion is on by default and honours reduced-motion preferences.

Parameters

htmlChartInteractionOptions ChartForgeX.Interactivity.Html.HtmlChartInteractionOptions required
The instance.
configure System.Action<ChartForgeX.Interactivity.Html.HtmlChartMotionOptions> required
Configures the value.

Returns

HtmlChartInteractionOptions The same instance.
public static HtmlChartInteractionOptions Nonce(HtmlChartInteractionOptions htmlChartInteractionOptions, string? value) #

Sets HtmlChartInteractionOptions.Nonce: Gets or sets the content security policy nonce. Script elements carry it, and the output has no style attributes: every inline style and style element moves into one style element with this nonce (see HtmlStrictStyles), and the runtime restores the inline styles through the CSS object model.

Parameters

htmlChartInteractionOptions ChartForgeX.Interactivity.Html.HtmlChartInteractionOptions required
The instance.
value string? required
The value.

Returns

HtmlChartInteractionOptions The same instance.

Examples

// C# initializer or property                                                                // C# fluent
new global::ChartForgeX.Interactivity.Html.HtmlChartInteractionOptions { Nonce = value };    htmlChartInteractionOptions.Nonce(value);
public static HtmlChartInteractionOptions PageTitle(HtmlChartInteractionOptions htmlChartInteractionOptions, string? value) #

Sets HtmlChartInteractionOptions.PageTitle: Gets or sets the optional HTML document title. When null, the chart title is used.

Parameters

htmlChartInteractionOptions ChartForgeX.Interactivity.Html.HtmlChartInteractionOptions required
The instance.
value string? required
The value.

Returns

HtmlChartInteractionOptions The same instance.

Examples

// C# initializer or property                                                                    // C# fluent
new global::ChartForgeX.Interactivity.Html.HtmlChartInteractionOptions { PageTitle = value };    htmlChartInteractionOptions.PageTitle(value);
public static HtmlChartInteractionOptions PdfBoldFontUrl(HtmlChartInteractionOptions htmlChartInteractionOptions, string? value) #

Sets HtmlChartInteractionOptions.PdfBoldFontUrl: Gets or sets the optional bold face for the family supplied through HtmlChartInteractionOptions.PdfFontUrl.

Parameters

htmlChartInteractionOptions ChartForgeX.Interactivity.Html.HtmlChartInteractionOptions required
The instance.
value string? required
The value.

Returns

HtmlChartInteractionOptions The same instance.

Examples

// C# initializer or property                                                                         // C# fluent
new global::ChartForgeX.Interactivity.Html.HtmlChartInteractionOptions { PdfBoldFontUrl = value };    htmlChartInteractionOptions.PdfBoldFontUrl(value);
public static HtmlChartInteractionOptions PdfFontUrl(HtmlChartInteractionOptions htmlChartInteractionOptions, string? value) #

Sets HtmlChartInteractionOptions.PdfFontUrl: Gets or sets the URL of a static TrueType font that replaces the default Archivo PDF family.

Parameters

htmlChartInteractionOptions ChartForgeX.Interactivity.Html.HtmlChartInteractionOptions required
The instance.
value string? required
The value.

Returns

HtmlChartInteractionOptions The same instance.

Examples

// C# initializer or property                                                                     // C# fluent
new global::ChartForgeX.Interactivity.Html.HtmlChartInteractionOptions { PdfFontUrl = value };    htmlChartInteractionOptions.PdfFontUrl(value);
public static HtmlChartInteractionOptions ProgressEditing(HtmlChartInteractionOptions htmlChartInteractionOptions, Action<HtmlChartProgressEditingOptions> configure) #

Configures HtmlChartInteractionOptions.ProgressEditing in place: Gets opt-in progress editing through the existing native host-preparation connection.

Parameters

htmlChartInteractionOptions ChartForgeX.Interactivity.Html.HtmlChartInteractionOptions required
The instance.
configure System.Action<ChartForgeX.Interactivity.Html.HtmlChartProgressEditingOptions> required
Configures the value.

Returns

HtmlChartInteractionOptions The same instance.
public static HtmlChartInteractionOptions ResponsiveLayout(HtmlChartInteractionOptions htmlChartInteractionOptions, HtmlChartResponsiveLayout value) #

Sets HtmlChartInteractionOptions.ResponsiveLayout: Gets or sets how the adapter protects chart readability in narrow containers.

Parameters

htmlChartInteractionOptions ChartForgeX.Interactivity.Html.HtmlChartInteractionOptions required
The instance.
value ChartForgeX.Interactivity.Html.HtmlChartResponsiveLayout required
The value.

Returns

HtmlChartInteractionOptions The same instance.

Examples

// C# initializer or property                                                                           // C# fluent
new global::ChartForgeX.Interactivity.Html.HtmlChartInteractionOptions { ResponsiveLayout = value };    htmlChartInteractionOptions.ResponsiveLayout(value);
public static HtmlChartInteractionOptions Runtime(HtmlChartInteractionOptions htmlChartInteractionOptions, HtmlChartRuntime value) #

Sets HtmlChartInteractionOptions.Runtime: Gets or sets whether output includes native host APIs or a feature-selected offline reader runtime.

Parameters

htmlChartInteractionOptions ChartForgeX.Interactivity.Html.HtmlChartInteractionOptions required
The instance.
value ChartForgeX.Interactivity.Html.HtmlChartRuntime required
The value.

Returns

HtmlChartInteractionOptions The same instance.

Examples

// C# initializer or property                                                                  // C# fluent
new global::ChartForgeX.Interactivity.Html.HtmlChartInteractionOptions { Runtime = value };    htmlChartInteractionOptions.Runtime(value);
public static HtmlChartInteractionOptions ScheduleEditing(HtmlChartInteractionOptions htmlChartInteractionOptions, Action<HtmlChartScheduleEditingOptions> configure) #

Configures HtmlChartInteractionOptions.ScheduleEditing in place: Gets opt-in Gantt lane editing: add, move, resize, regroup and delete with host validation. Off by default.

Parameters

htmlChartInteractionOptions ChartForgeX.Interactivity.Html.HtmlChartInteractionOptions required
The instance.
configure System.Action<ChartForgeX.Interactivity.Html.HtmlChartScheduleEditingOptions> required
Configures the value.

Returns

HtmlChartInteractionOptions The same instance.
public static HtmlChartInteractionOptions TextPresentation(HtmlChartInteractionOptions htmlChartInteractionOptions, HtmlChartTextPresentation value) #

Sets HtmlChartInteractionOptions.TextPresentation: Gets or sets how HTML supplies prepared text. Automatic delivers eligible owned faces and keeps native contours for unsupported or unavailable browser faces.

Parameters

htmlChartInteractionOptions ChartForgeX.Interactivity.Html.HtmlChartInteractionOptions required
The instance.
value ChartForgeX.Interactivity.Html.HtmlChartTextPresentation required
The value.

Returns

HtmlChartInteractionOptions The same instance.

Examples

// C# initializer or property                                                                           // C# fluent
new global::ChartForgeX.Interactivity.Html.HtmlChartInteractionOptions { TextPresentation = value };    htmlChartInteractionOptions.TextPresentation(value);
public static HtmlChartInteractionOptions Toolbar(HtmlChartInteractionOptions htmlChartInteractionOptions, HtmlChartToolbarLayout value) #

Sets HtmlChartInteractionOptions.Toolbar: Gets or sets the toolbar presentation. The default is the floating HtmlChartToolbarLayout.Compact.

Parameters

htmlChartInteractionOptions ChartForgeX.Interactivity.Html.HtmlChartInteractionOptions required
The instance.
value ChartForgeX.Interactivity.Html.HtmlChartToolbarLayout required
The value.

Returns

HtmlChartInteractionOptions The same instance.

Examples

// C# initializer or property                                                                  // C# fluent
new global::ChartForgeX.Interactivity.Html.HtmlChartInteractionOptions { Toolbar = value };    htmlChartInteractionOptions.Toolbar(value);
public static HtmlChartInteractionOptions Tooltip(HtmlChartInteractionOptions htmlChartInteractionOptions, Action<HtmlChartTooltipOptions> configure) #

Configures HtmlChartInteractionOptions.Tooltip in place: Gets the tooltip content, acquisition, timing and position options.

Parameters

htmlChartInteractionOptions ChartForgeX.Interactivity.Html.HtmlChartInteractionOptions required
The instance.
configure System.Action<ChartForgeX.Interactivity.Html.HtmlChartTooltipOptions> required
Configures the value.

Returns

HtmlChartInteractionOptions The same instance.
public static HtmlChartInteractionOptions XNavigation(HtmlChartInteractionOptions htmlChartInteractionOptions, Action<HtmlChartXNavigationOptions> configure) #

Configures HtmlChartInteractionOptions.XNavigation in place: Gets optional source-domain navigator, range preset and position scrollbar controls.

Parameters

htmlChartInteractionOptions ChartForgeX.Interactivity.Html.HtmlChartInteractionOptions required
The instance.
configure System.Action<ChartForgeX.Interactivity.Html.HtmlChartXNavigationOptions> required
Configures the value.

Returns

HtmlChartInteractionOptions The same instance.