v2.0.0-beta.0
Pre-release2017-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 inecharts.init()
. It may containdevicePixelRatio
,renderer
,width
orheight
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 toNgxEchartsModule
. I have to say, it's weird to importAngularEchartsModule
fromngx-echarts
. -
AngularEchartsDirective
is renamed toNgxEchartsDirective
. Weird too.
UPDATES
ngx-echarts
now has default400px
height, if you forget to set height for the div.