Skip to content
This repository has been archived by the owner on Jul 8, 2021. It is now read-only.

Latest commit

 

History

History
33 lines (24 loc) · 688 Bytes

README.md

File metadata and controls

33 lines (24 loc) · 688 Bytes

ngx-echarts

Echarts bindings for Angular. Checkout this demo.

Usage

To get started, lets install the package thru npm:

npm i @amcdnl/ngx-echarts echarts --S

then include the effect in your module:

import { EChartsModule } from '@amcdnl/ngx-echarts';

@NgModule({
    imports: [EChartsModule]
})
export class MyModule {}

then use the component like:

<ngx-echarts
  [series]="series$ | async"
  (chartClick)="onChartClick($event)"
  (chartDblClick)="onChartDblClick($event)">
</ngx-echarts>

For more information, visit official ECharts documentation.