@alisher1119/echarts-for-react
v1.0.0
Published
Apache Echarts components for React.
Maintainers
Readme
@alisher1119/echarts-for-react
This package is a fork of echarts-for-react.
Original Packages
Changes
- Renamed package to
@alisher1119/echarts-for-react. - Replaced
echartsdependency with@alisher1119/echarts. - Modified
initEchartsInstanceinsrc/core.tsxto implement a double-initialization pattern. It now initializes a temporary instance, waits for thefinishedevent to determine the container's final dimensions, disposes of the temporary instance, and then re-initializes with the correctwidthandheight. This ensures charts are correctly sized on their first render even when the container size is dynamic.
