xieziyu / ngx-echarts

An angular (ver >= 2.x) directive for ECharts (ver >= 3.x)
https://xieziyu.github.io/ngx-echarts/
MIT License
1.11k stars 197 forks source link

[Error] graph chart links type is error #221

Open WQMDC opened 4 years ago

WQMDC commented 4 years ago

graph chart links type is array in official website

https://www.echartsjs.com/zh/option.html#series-graph.data

but, ngx-echarts declaration type is object

image

sawyerbutton commented 4 years ago

@WQMDC I do not find the ngx-echarts type declaration file from source code folder, Can you refer me a link?

WQMDC commented 4 years ago

@sawyerbutton

Path: node_modules/@types/echarts/options/series/graph.d.ts

you can compare it. Thank you.