See the docs site for guides, API reference, and examples.
Pioneer Charts is an Angular library for building beautiful, customizable, and responsive data visualizations. It leverages D3.js for rendering and supports a variety of chart types including bar, line/area, pie, and more.
- Beautiful default theme, easily customizable via SCSS.
- Supports Bar, Line/Area, Pie charts, and Legends.
- Event emitters for user interaction.
- Strongly typed configuration contracts.
- Open source and actively maintained.
npm install --save @pioneer-code/pioneer-chartsImport the modules you need in your AppModule:
import { PcacBarVerticalChartModule, PcacLineAreaChartModule } from '@pioneer-code/pioneer-charts';
@NgModule({
imports: [
PcacBarVerticalChartModule,
PcacLineAreaChartModule,
// ...other modules
],
})
export class AppModule { }Add the Pioneer Charts CSS to your global styles:
@import "~@pioneer-code/pioneer-charts/pcac.css";<pcac-bar-vertical-chart [config]="barVerticalChartConfig" (barClicked)="onBarClicked($event)"></pcac-bar-vertical-chart>