plainheart commented on issue #16533: URL: https://github.com/apache/echarts/issues/16533#issuecomment-1043981272
Just as I said before, you still can get the elements via internal APIs. ```js // get the series model const model = myChart.getModel().getSeriesByIndex(0); // `getSeriesByType`/`getSeriesByName` is available // get the series view const view = myChart.getViewOfSeriesModel(model); // get the element group const group = view.group; // get all the elements in the group const elements = view.group.childrenRef(); // get the bounding rectangle of one element const boundingRect = elements[0].getBoundingRect(); ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org