lzl132264 opened a new issue, #18362: URL: https://github.com/apache/echarts/issues/18362
### Version 5.4.1 ### Link to Minimal Reproduction _No response_ ### Steps to Reproduce 1、const modules = import.meta.glob('../../../../node_modules/echarts/lib/chart/ /install.js'); 2、const newModules = {} as any; Object.keys(modules).map((key) => { const newKey = key.match(/chart/(.)/ install/)?.[1] as string; newModules[newKey] = modules[key]; }); 3、const chart = (await newModules [props.chartType as any](https://github.com/apache/echarts/issues/18361) .then((resolve: any) => resolve)).install; use([ chart, ]); ### Current Behavior The following error occurred: TypeError: Cannot read properties of undefined (reading 'width') at getLineWidth (BarView.js?v=e0495681:863:31) ### Expected Behavior Render the chart. ### Environment ```markdown - OS: - Browser: - Framework: ``` ### Any additional comments? _No response_ -- 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.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