Skip to content

Commit 8e4c964

Browse files
committed
[opt] Add comments.
1 parent a8feade commit 8e4c964

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/components/Echarts/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ function Echarts(props, ref) {
126126
}, [props.extension]);
127127

128128
/**
129-
* Support custom actions.
129+
* Support custom dynamic events.
130130
* eventActions: object
131131
*/
132132
useEffect(() => {

src/components/Echarts/renderChart.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ export default function renderChart(props) {
2323
)});
2424
const myChart = echarts.init(eChartsContainer, '${props.themeName}');
2525
let formatterVariable = ${toString(props.formatterVariable || "")};
26+
// Configuration dynamic events.
2627
for(let temp of ${JSON.stringify(props.eventArrays || "")}){
2728
myChart.on(temp, (params)=>{
2829
const clickParams = {

0 commit comments

Comments
 (0)