ngx-echarts

An angular (ver >= 2.x) directive for ECharts (ver >= 3.x)

MIT License

Downloads
422.7K
Stars
1.1K
Committers
30

Bot releases are hidden (Show)

ngx-echarts - v2.0.0

Published by xieziyu almost 7 years ago

2017-12-04

NEW

  • New service: NgxEchartsService provided. Refer to API document and Demo for details
ngx-echarts - v2.0.0-beta.0

Published by xieziyu almost 7 years ago

2017-11-25

NEW

  • New input: [merge]. The value of [merge] will be merged into [options]. So it's perfect for updating chart data series. Refer to ECharts documentation for details

  • New input: [initOpts]. The value of [initOpts] will be used in echarts.init(). It may contain devicePixelRatio, renderer, width or height properties. Refer to ECharts documentation for details

  • New public methods: setOption(option: any, otps?: any)

BREAKING CHANGES

  • [dataset] is deprecated. It's really hard to understand how [dataset] works for chart with multiple data series. So I recommend to use [merge] input instead. It's more powerful to merge series than to update values only.

  • AngularEchartsModule is renamed to NgxEchartsModule. I have to say, it's weird to import AngularEchartsModule from ngx-echarts.

  • AngularEchartsDirective is renamed to NgxEchartsDirective. Weird too.

UPDATES

  • ngx-echarts now has default 400px height, if you forget to set height for the div.
ngx-echarts - v1.2.3

Published by xieziyu about 7 years ago

Changes

ngx-echarts - v1.2.2

Published by xieziyu over 7 years ago

New

ngx-echarts - v1.2.1

Published by xieziyu over 7 years ago

New

  • Support chartContextMenu emitter for contextmenu event
ngx-echarts - v1.2.0

Published by xieziyu over 7 years ago

Renamed from angular2-echarts to ngx-echarts