We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8feade commit 8e4c964Copy full SHA for 8e4c964
src/components/Echarts/index.js
@@ -126,7 +126,7 @@ function Echarts(props, ref) {
126
}, [props.extension]);
127
128
/**
129
- * Support custom actions.
+ * Support custom dynamic events.
130
* eventActions: object
131
*/
132
useEffect(() => {
src/components/Echarts/renderChart.js
@@ -23,6 +23,7 @@ export default function renderChart(props) {
23
)});
24
const myChart = echarts.init(eChartsContainer, '${props.themeName}');
25
let formatterVariable = ${toString(props.formatterVariable || "")};
26
+ // Configuration dynamic events.
27
for(let temp of ${JSON.stringify(props.eventArrays || "")}){
28
myChart.on(temp, (params)=>{
29
const clickParams = {
0 commit comments