hustcc / hustcc/echarts-for-react

How to connect several charts on chart load?

Open
#560 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
5k
Forks
650
PR merge metrics
No merged PRs in 30d

Description

I am trying to develop a plugin for Grafana and I need to connect the charts. I cannot modify the source code so I need to add echart.connect on load of the charts?

I saw #9 and would like to know how can I do this?

Something like below,

```
const onChartReadyCallback = e => {
chart = useRef(e)
chart.group='abc'
echart.connect('abc')
}

```

other panel,
```

```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.