how do i use this example (apache echarts) within e-charts-for-react

Viewed 35

i have a similar custom flight svg like on: https://echarts.apache.org/examples/en/editor.html?c=geo-seatmap-flight, i am using e-charts-for-react library in my react app., i have tried to implement the functionality using a create-react-app sample in my code how do i go about "adapting" it properly in echarts-for-react especially for the line.. seems like i need to utlise the "Echarts API"?

var myChart = echarts.init(chartDom);
0 Answers
Related