ChartInteractionOptions
ChartForgeX.Interactivity
Holds host-neutral interaction settings that can be consumed by HTML, desktop, or future interactive adapters.
Inheritance
- object
- ChartInteractionOptions
Usage
Explore 57 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 29
- Extension method ChartInteractionOptions.ActiveScenario
- Extension method ChartInteractionOptions.ActiveScenarioId
- Extension method ChartInteractionOptions.AddScenario
- Extension method ChartInteractionOptions.BrushAxis
- Extension method ChartInteractionOptions.ChartId
- Extension method ChartInteractionOptions.DeepLinkState
- Extension method ChartInteractionOptions.EnableDeepLinkState
- Extension method ChartInteractionOptions.Features
- Extension method ChartInteractionOptions.GroupName
- Extension method ChartInteractionOptions.Scenario
- Extension method ChartInteractionOptions.Scenarios
- Extension method ChartInteractionOptions.SelectionMode
- Method ChartInteractionOptions.Disable
- Method ChartInteractionOptions.Enable
- Method ChartInteractionOptions.ReportReview
- Method ChartInteractionOptionsFluent.ActiveScenarioId
- Method ChartInteractionOptionsFluent.BrushAxis
- Method ChartInteractionOptionsFluent.ChartId
- Method ChartInteractionOptionsFluent.EnableDeepLinkState
- Method ChartInteractionOptionsFluent.Features
- Method ChartInteractionOptionsFluent.GroupName
- Method ChartInteractionOptionsFluent.Scenario
- Method ChartInteractionOptionsFluent.Scenarios
- Method ChartInteractionOptionsFluent.SelectionMode
- Method ChartInteractionScenarioExtensions.ActiveScenario
- Method ChartInteractionScenarioExtensions.AddScenario
- Method ChartInteractionScenarioExtensions.DeepLinkState
- Property HtmlChartInteractionOptions.Interaction
- Property HtmlInteractiveDashboardOptions.Interaction
Accepted by parameters 28
- Extension method ChartInteractionOptions.ActiveScenario
- Extension method ChartInteractionOptions.ActiveScenarioId
- Extension method ChartInteractionOptions.AddScenario
- Extension method ChartInteractionOptions.BrushAxis
- Extension method ChartInteractionOptions.ChartId
- Extension method ChartInteractionOptions.DeepLinkState
- Extension method ChartInteractionOptions.EnableDeepLinkState
- Extension method ChartInteractionOptions.Features
- Extension method ChartInteractionOptions.GroupName
- Extension method ChartInteractionOptions.Scenario
- Extension method ChartInteractionOptions.Scenarios
- Extension method ChartInteractionOptions.SelectionMode
- Method ChartInteractionOptionsFluent.ActiveScenarioId
- Method ChartInteractionOptionsFluent.BrushAxis
- Method ChartInteractionOptionsFluent.ChartId
- Method ChartInteractionOptionsFluent.EnableDeepLinkState
- Method ChartInteractionOptionsFluent.Features
- Method ChartInteractionOptionsFluent.GroupName
- Method ChartInteractionOptionsFluent.Scenario
- Method ChartInteractionOptionsFluent.Scenarios
- Method ChartInteractionOptionsFluent.SelectionMode
- Method ChartInteractionScenarioExtensions.ActiveScenario
- Method ChartInteractionScenarioExtensions.AddScenario
- Method ChartInteractionScenarioExtensions.DeepLinkState
- Extension method HtmlChartInteractionOptions.Interaction
- Method HtmlChartInteractionOptionsFluent.Interaction
- Extension method HtmlInteractiveDashboardOptions.Interaction
- Method HtmlInteractiveDashboardOptionsFluent.Interaction
Constructors
public ChartInteractionOptions() #Initializes a new instance of the ChartInteractionOptions class.
Methods
public ChartInteractionOptions Disable(ChartInteractionFeatures features) #Disables one or more interaction features.
Parameters
- features ChartForgeX.Interactivity.ChartInteractionFeatures
- The features to disable.
public ChartInteractionOptions Enable(ChartInteractionFeatures features) #Enables one or more interaction features.
Parameters
- features ChartForgeX.Interactivity.ChartInteractionFeatures
- The features to enable.
public bool HasFeature(ChartInteractionFeatures feature) #Determines whether the specified interaction feature is enabled.
Parameters
- feature ChartForgeX.Interactivity.ChartInteractionFeatures
- The interaction feature to check.
Returns
bool true when the feature is enabled; otherwise, false.public static ChartInteractionOptions ReportReview() #Returns a configured copy of the default report-review interaction profile.
Inherited Methods
Properties
public string? ChartId { get; set; } #Gets or sets a stable chart identifier used by host adapters for DOM IDs, chart registries, or event routing.
public string? GroupName { get; set; } #Gets or sets the optional synchronized-chart group name.
public List<ChartInteractionScenario> Scenarios { get; } #Gets interaction scenarios that host adapters may expose as alternate chart paths, flows, or analytical states.
public string? ActiveScenarioId { get; set; } #Gets or sets the initial active scenario id.
public bool EnableDeepLinkState { get; set; } #Gets or sets a value indicating whether adapters may synchronize interaction state with URL or host deep links.
public ChartInteractionFeatures Features { get; set; } #Gets or sets the enabled interaction feature flags.
public ChartSelectionMode SelectionMode { get; set; } #Gets or sets how pointer and keyboard activation changes the selected marks.
public ChartBrushAxis BrushAxis { get; set; } #Gets or sets whether a brush spans both plot axes or only the horizontal axis.
Extension Methods
public static ChartInteractionOptions ActiveScenario(ChartInteractionOptions options, string scenarioId) #Sets the active scenario id and enables scenario interactivity.
Parameters
- options ChartForgeX.Interactivity.ChartInteractionOptions
- The interaction options.
- scenarioId string
- The active scenario id.
public static ChartInteractionOptions ActiveScenarioId(ChartInteractionOptions chartInteractionOptions, string? value) #Sets ChartInteractionOptions.ActiveScenarioId: Gets or sets the initial active scenario id.
Parameters
- chartInteractionOptions ChartForgeX.Interactivity.ChartInteractionOptions
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Interactivity.ChartInteractionOptions { ActiveScenarioId = value }; chartInteractionOptions.ActiveScenarioId(value);public static ChartInteractionOptions AddScenario(ChartInteractionOptions options, string id, string label, Action<ChartInteractionScenario>? configure = null) #Adds a named scenario to the interaction options and enables scenario interactivity.
Parameters
- options ChartForgeX.Interactivity.ChartInteractionOptions
- The interaction options.
- id string
- The scenario id.
- label string
- The scenario label.
- configure System.Action<ChartForgeX.Interactivity.ChartInteractionScenario>? = null
- Optional scenario configuration.
public static ChartInteractionOptions BrushAxis(ChartInteractionOptions chartInteractionOptions, ChartBrushAxis value) #Sets ChartInteractionOptions.BrushAxis: Gets or sets whether a brush spans both plot axes or only the horizontal axis.
Parameters
- chartInteractionOptions ChartForgeX.Interactivity.ChartInteractionOptions
- The instance.
- value ChartForgeX.Interactivity.ChartBrushAxis
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Interactivity.ChartInteractionOptions { BrushAxis = value }; chartInteractionOptions.BrushAxis(value);public static ChartInteractionOptions ChartId(ChartInteractionOptions chartInteractionOptions, string? value) #Sets ChartInteractionOptions.ChartId: Gets or sets a stable chart identifier used by host adapters for DOM IDs, chart registries, or event routing.
Parameters
- chartInteractionOptions ChartForgeX.Interactivity.ChartInteractionOptions
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Interactivity.ChartInteractionOptions { ChartId = value }; chartInteractionOptions.ChartId(value);public static ChartInteractionOptions DeepLinkState(ChartInteractionOptions options, bool enabled = true) #Controls whether adapter state may be synchronized with a deep link.
Parameters
- options ChartForgeX.Interactivity.ChartInteractionOptions
- The interaction options.
- enabled bool = true
- Whether deep-link state is enabled.
public static ChartInteractionOptions EnableDeepLinkState(ChartInteractionOptions chartInteractionOptions, bool value = true) #Sets ChartInteractionOptions.EnableDeepLinkState: Gets or sets a value indicating whether adapters may synchronize interaction state with URL or host deep links.
Parameters
- chartInteractionOptions ChartForgeX.Interactivity.ChartInteractionOptions
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Interactivity.ChartInteractionOptions { EnableDeepLinkState = value }; chartInteractionOptions.EnableDeepLinkState(value);public static ChartInteractionOptions Features(ChartInteractionOptions chartInteractionOptions, ChartInteractionFeatures value) #Sets ChartInteractionOptions.Features: Gets or sets the enabled interaction feature flags.
Parameters
- chartInteractionOptions ChartForgeX.Interactivity.ChartInteractionOptions
- The instance.
- value ChartForgeX.Interactivity.ChartInteractionFeatures
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Interactivity.ChartInteractionOptions { Features = value }; chartInteractionOptions.Features(value);public static ChartInteractionOptions GroupName(ChartInteractionOptions chartInteractionOptions, string? value) #Sets ChartInteractionOptions.GroupName: Gets or sets the optional synchronized-chart group name.
Parameters
- chartInteractionOptions ChartForgeX.Interactivity.ChartInteractionOptions
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Interactivity.ChartInteractionOptions { GroupName = value }; chartInteractionOptions.GroupName(value);public static ChartInteractionOptions Scenario(ChartInteractionOptions chartInteractionOptions, ChartInteractionScenario item) #Adds an item to ChartInteractionOptions.Scenarios: Gets interaction scenarios that host adapters may expose as alternate chart paths, flows, or analytical states.
Parameters
- chartInteractionOptions ChartForgeX.Interactivity.ChartInteractionOptions
- The instance.
- item ChartForgeX.Interactivity.ChartInteractionScenario
- The item.
public static ChartInteractionOptions Scenario(ChartInteractionOptions chartInteractionOptions, Action<ChartInteractionScenario> configure) #Creates an item, configures it and adds it to ChartInteractionOptions.Scenarios: Gets interaction scenarios that host adapters may expose as alternate chart paths, flows, or analytical states.
Parameters
- chartInteractionOptions ChartForgeX.Interactivity.ChartInteractionOptions
- The instance.
- configure System.Action<ChartForgeX.Interactivity.ChartInteractionScenario>
- Configures the new item before it is added.
public static ChartInteractionOptions Scenarios(ChartInteractionOptions chartInteractionOptions, IEnumerable<ChartInteractionScenario> items) #Adds items to ChartInteractionOptions.Scenarios: Gets interaction scenarios that host adapters may expose as alternate chart paths, flows, or analytical states.
Parameters
- chartInteractionOptions ChartForgeX.Interactivity.ChartInteractionOptions
- The instance.
- items System.Collections.Generic.IEnumerable<ChartForgeX.Interactivity.ChartInteractionScenario>
- The items, in order.
public static ChartInteractionOptions SelectionMode(ChartInteractionOptions chartInteractionOptions, ChartSelectionMode value) #Sets ChartInteractionOptions.SelectionMode: Gets or sets how pointer and keyboard activation changes the selected marks.
Parameters
- chartInteractionOptions ChartForgeX.Interactivity.ChartInteractionOptions
- The instance.
- value ChartForgeX.Interactivity.ChartSelectionMode
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Interactivity.ChartInteractionOptions { SelectionMode = value }; chartInteractionOptions.SelectionMode(value);