We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
如图所示,react 5.1新增了resize动画的功能
这是我的代码,我应该如何在echarts-for-react v3.0.2中调用这个新功能?
import React from 'react'; import '../element/App.css'; import ReactEcharts from "echarts-for-react"; export default function EchartPanel() { const bar = () => { const option = { // echart option }; return option; } return (<div className={'EchartPanel'}> <ReactEcharts option={bar()}/> </div>); }
The text was updated successfully, but these errors were encountered:
const chartInst: any = chartRef?.current?.getEchartsInstance(); chartInst.resize({ width : 300 });
Sorry, something went wrong.
No branches or pull requests
如图所示,react 5.1新增了resize动画的功能
这是我的代码,我应该如何在echarts-for-react v3.0.2中调用这个新功能?
The text was updated successfully, but these errors were encountered: