Skip to main content
cngx-src documentation

CngxChartPanelConfig

Interface

projects/ui/chart-panel/config/chart-panel.config.ts

Import#

import { CngxChartPanelConfig } from '@cngx/ui/chart-panel'

Description#

App-wide cascade for the chart-panel's ARIA strings and its default legend placement.

Resolution priority (high -> low):

  1. Per-instance Input binding (e.g. [legendPosition]).
  2. provideChartPanelConfigAt(...) in a parent component's viewProviders.
  3. provideChartPanelConfig(...) at the application root.
  4. Library defaults (English; merged in via CNGX_CHART_PANEL_DEFAULTS).

Index#

Instance Properties#

ariaLabels#literal type
ReadonlyOptional

String fallbacks for the panel's non-content states.

ReadonlyOptional

App-wide default legend placement. Per-instance [legendPosition] wins.