somonus / react-echarts

React echarts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

series is in option

hustcc opened this issue · comments

In echarts‘s API, series is part of option.

Why configure them individually? Why not configure them only in option?

In my opinion, line chart and bar chart are different react components.
So they should be separated, and they can be freely combined.

Why not be consistent with Baidu echarts?

I can make it be compatible with echarts.
But in react, components should not be defined in the property.

In my next version,I will be compatible with the echarts's option.