Skip to content
ChartForgeX
Class

HtmlChartContextMenuItem

ChartForgeX.Interactivity.Html

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

A host-defined chart context-menu item. Choosing it dispatches a cfxcontextaction event from the chart section.

Inheritance

  • object
  • HtmlChartContextMenuItem

Remarks

The event detail carries the item's id, the chartId, the current selection and the exported data rows. The generated page runs no host code; the host listens for the event.

Usage

Explore 1 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 1

Constructors

public HtmlChartContextMenuItem(string id, string label) #

Initializes a new context-menu item.

Parameters

id string required
A stable identifier, unique within the chart's menu.
label string required
The visible, already translated label.

Properties

public string Id { get; } #

Gets the item's identifier.

public string Label { get; } #

Gets the item's label.

public bool Disabled { get; set; } #

Gets or sets whether the item is shown as unavailable.