@amcdnl/ngx-echarts

ECharts for Angular

Usage no npm install needed!

<script type="module">
  import amcdnlNgxEcharts from 'https://cdn.skypack.dev/@amcdnl/ngx-echarts';
</script>

README

ngx-echarts

Echarts bindings for Angular.

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.