echarts#connect TypeScript Examples
The following examples show how to use
echarts#connect.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: connect-charts.component.ts From ng-ant-admin with MIT License | 6 votes |
ngAfterViewInit() {
setTimeout(() => {
const chartElement1 = document.getElementById('chart1');
const chartElement2 = document.getElementById('chart2');
const chart1 = getInstanceByDom(chartElement1!);
const chart2 = getInstanceByDom(chartElement2!);
connect([chart1!, chart2!]);
});
}