An angular (ver >= 2.x) directive for ECharts (ver >= 3.x)
MIT License
Bot releases are hidden (Show)
Published by xieziyu almost 7 years ago
Published by xieziyu almost 7 years ago
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)
[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.
ngx-echarts
now has default 400px
height, if you forget to set height for the div.Published by xieziyu over 7 years ago
chartContextMenu
emitter for contextmenu
eventPublished by xieziyu over 7 years ago
Renamed from angular2-echarts to ngx-echarts