Skip to main content

Interface: HoverPluginAccessors

Defined in: utils/charts/core/renderChartDependencyAccessors.ts:40

Properties​

addChartHoverEffects​

addChartHoverEffects: (chartContainer:
| HTMLElement
| null
| undefined, themeConfig:
| ChartHoverThemeConfig
| null
| undefined) => void;

Defined in: utils/charts/core/renderChartDependencyAccessors.ts:41

Add interactive hover, fullscreen, and ripple affordances to chart canvases.

Parameters​

chartContainer​

| HTMLElement | null | undefined

themeConfig​

| ChartHoverThemeConfig | null | undefined

Returns​

void


addHoverEffectsToExistingCharts​

addHoverEffectsToExistingCharts: () => void;

Defined in: utils/charts/core/renderChartDependencyAccessors.ts:42

Apply hover effects to the active chart container using the current app theme.

Returns​

void


removeChartHoverEffects​

removeChartHoverEffects: (chartContainer:
| HTMLElement
| null
| undefined) => void;

Defined in: utils/charts/core/renderChartDependencyAccessors.ts:43

Remove hover-effect wrappers from a chart container and restore canvas styles.

Parameters​

chartContainer​

| HTMLElement | null | undefined

Returns​

void