← DataGrid API

Interface · v2.7.0

NgbDataChartConfig

Standalone chart renderer configuration.

Import

import type { NgbDataChartConfig } from '@angular-bootstrap/ngbootstrap';

Declaration

Properties

type

labels

labels: string[]

series

title

title?: string

height

height?: number

emptyState

emptyState?: string

showLegend

showLegend?: boolean

legendPosition

legendPosition?: 'top' | 'bottom'

stacked

stacked?: boolean

valueFormatter

valueFormatter?: (value: number) => string

Referenced types

Source: types/angular-bootstrap-ngbootstrap.d.ts in the installed @angular-bootstrap/ngbootstrap package. Angular compiler metadata and private members are omitted.

This project is not affiliated with ng-bootstrap or ngx-bootstrap. Those projects focus mainly on Bootstrap components for Angular. ngbootstrap focuses on Angular UI for data-heavy apps, especially Data Grid, Angular-native Form Builder, drag and drop workflows, documentation examples, and performance-focused Angular patterns.