Skip to content

v2.0.0-beta.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@xieziyu xieziyu released this 25 Nov 12:51
· 192 commits to master since this release
d589eac

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.