跳到主要内容

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 @openclothes/react package:

Javascript
import { ChartWrapper } from "@openclothes/react/components/Echart"

Constants

The Echart family provides the following constants:

echarts

提示

Not open clothes 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 @openclothes/react package:

Javascript
import { echarts } from "@openclothes/react/components/Echart"