Skip to main content
cngx-src documentation

injectChartPanelConfig

Functionui/chart-panelv0.1.0

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

Description#

Convenience accessor for the chart-panel configuration cascade. Runs in injection context; resolves through the priority chain (per-instance Input -> provideChartPanelConfigAt -> provideChartPanelConfig -> library defaults). Equivalent to inject(CNGX_CHART_PANEL_CONFIG) - the helper exists so consumers don't import the token directly.

Signature#

injectChartPanelConfig()

Returns#

CngxChartPanelConfig