Charts

Charts are powered by nvd3 and echarts please refer there guid for further documentation

Importing

First import it to your app module or any submodule as you wish

import { NgxEchartsModule } from 'ngx-echarts';
import { NvD3Module } from 'ngx-nvd3';
@NgModule({
  imports: [NvD3Module,NgxEchartsModule,...]
})
export class AppModule(){}

How to use

<div echarts [options]="optionsLineStack" [initOpts]="initOptionsLineStack" class="demo-chart"></div>

Last updated