*cngxChartError slot - overrides the chart-level error placeholder
CngxChartError
Directivev0.1.0
projects/common/chart/chart/template-slots.ts
Import#
import { CngxChartError } from '@cngx/common/chart'
Description#
*cngxChartError slot - overrides the chart-level error placeholder.
Receives a CngxChartErrorContext.
<cngx-chart [state]="state()">
<ng-template cngxChartError let-error let-small="small">
<span>Could not load: {{ error?.message }}</span>
</ng-template>
</cngx-chart>