Echart
Components
The Echart component family provides the following components:
EchartWrapper
A component to provide Echart functionality. This is a wrapper around Apache Echarts. The option prop is for echarts.
You can import the ChartWrapper
component from the echart component family in the @freesewing/react
package:
Javascript
import { ChartWrapper } from "@freesewing/react/components/Echart"
Constants
The Echart family provides the following constants:
echarts
tip
Not FreeSewing code
We re-export echarts
for convenience.
Please refer to the documentation for Apache Echarts.
Re-export of Apache Echarts
You can import the echarts
constant from the echart family in the @freesewing/react
package:
Javascript
import { echarts } from "@freesewing/react/components/Echart"