dongyikuan919 opened a new issue, #21888: URL: https://github.com/apache/echarts/issues/21888
### Version 6.1.0 (latest stable npm release). Also reproduced at `34f4d927eafe251f26f63afd3aeefa30f2feba30` on master. ### Link to Minimal Reproduction https://echarts.apache.org/examples/en/editor.html?version=6.1.0&renderer=svg&enc=deflate&code=hVA9a8MwEN39K26TDYqjpJ0UMpQOoUsKTckSMqj2xT5QJCNd0obU_73IJqVQaJfTnd7HPcl3TN7BEq4ZgHF0NGnWcDA2oswAIrnG4sMHRQ1XvnSoQTAdUfQDioEwatglOcANb_GIL3TGIORwXxs2GnZDD7ATczVXEzWbqJmQoCQIY7vWiL38zZj_y7h5vCH_bTESBjzVfp_1i6zyLjLEGB5bExiWgFVqYkmOOHcnayWMNT0xoKsxYNAg4rkRMgk1cDihhHequdVwr5SEFqlpWcOdUllfLLKbfxmRn4cvz_1wFGMCb7G0vsnFZruCyjs25CKQOxtLNVTeh5qcYYxaSJiuzfrzyR1Swsu0ZIycfy8YE776zXa14UCuyYviZ4CaYucj5sXiCw ### Steps to Reproduce 1. Open the official editor link above. It uses the SVG renderer and two `themeRiver` layers with two timestamps each. Every value is 0. 2. Check the console. The example creates a 400 × 300 SVG SSR chart and logs `SVG contains invalid coordinates: true`. 3. Change one value to 1 and run again. The generated SVG then has finite coordinates. ### Current Behavior Each item has `y0: NaN` and `y: NaN`. Layer labels in the exported SVG include `transform="translate(NaN NaN)"`. The layout divides the available height by the maximum total layer value, which is zero for this dataset. ### Expected Behavior An all-zero theme river should produce zero-height layers with finite coordinates. The generated SVG should contain no `NaN` or `Infinity` geometry. ### Environment - macOS arm64, Node.js 22.23.1, `[email protected]` from npm - Also reproduced in the official editor with ECharts 6.1.0 and the SVG renderer -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
