Re: [I] [Bug] loading layout was overlapped by graphGL [echarts]
AndreyPatseiko commented on issue #19597: URL: https://github.com/apache/echarts/issues/19597#issuecomment-1931389522 No. I've activated preloader for showing the problem. The problem is that when you activate the loading, the preloader doesn't overlap GL diagram, and you can interact with GL chart (get tooltips or zoom in). It looks like the GL chart has a larger z-Index and is displayed in the foreground. If you compare [default behavior](https://echarts.apache.org/examples/en/editor.html?c=line-simple=PYBwLglsB2AEC8sDeAoWszGAG0iAXEgL4A0asAHgIIUQDO-y56YAniAKaMDkAxgIZgOAc2AAnVtzLp0AE0H9GAbW4BZGFNjcAKgFcOm7gHUOsw9oAWuwwDExEQwGVBT3dG4BdcqXKsa9RlQZDHYuLQA3fmx9bm9pWDoOew4GWCVmJmC5BWUARgBWAAYSWAAmAGZistKAFhLS3IAOEtzy_JaagHZ6gDZCj3jgtk4ebAhoAwyici8iAG4UAFtWAGELfjEwADo6C2AAdwAZYH5ZceEACgBKOaA) with [minimal reproduce](https://echarts.apache.org/examples/en/editor.html?c=graphgl-large-internet=1=dark=CQOg5gpgLgUgygeQHIAoBQACDAlBCAqA-gAoCC-AEhgNQYDkA9ACYCGULAtGADYMsDO_aMzYsGASwB2UCACdJ0cLJYAHABYgAVvwD2kugBpMGAGYBXSQGMo4vRhRhl6gJQYA3sawA3FrIwQmSH4MAF4MR1UNAKCQAFtVFHMrGzsUaIhXDyxsjFloM3l3TxyMXQLLCAAuf0CIAG0ABgBdIxLs9llIKGr0uoBGFuKcn24zKowAJiGMAF8AbmKZ5wXh3wxLNggwHVlxCGCwuqaV7J8_DZlt3f2AWVVQ93nis4xJHSZ9h4j1EDeP_jiCSS1lsknsfwyRTa4hM9gAhBctjs9vw7io6hC6gBmJpNTLTLCIq4okAqMz8NQoLJtbKSFixcaYnEE2bLFlE5G3VQY971HFNB5QWRjE45GbTPJQApg6ltAAe1TuUA0ykkTB0sRQrgAVBgAO5SdV6kBSBSyADq4iYytaNIAn oq2CqWGqNVqMLqDa7jaa5BQIOIwGooLa2gwGBgFa9eY1BjSMOGMA7ox9-nGafw7bEAEY6bhwcQAL0ZMYm6baHNkyaZ5ZKIzG1T60yeYrZOVidoAwmpfFAQEIoAgVClJFTppY8ztqnUWXROtmUBMGliDBMsQBOAx9ACszkMs_nKAA7Cud6uN3vQyU52AF2vN2u-lvd_v4zeF2eJn0j-f15eD7eKBYg0z6_v-b6Hme34ACxga-NLvigfR9AAbL-z7gQhh73qB24AByYW0iGfhuW5HtBhHXthpF9A0EwYfBRHUZuUEvleOTEduBjQbB96URxzFbtBXE7vx2SIcB6GiYxVGAThfR4XhDHseJkHbg-NFsQBH7qaBfEyQJgEkZuPFiVgnHoXhR5mfQanoV-1kGapcnLnpF5OeZglQYpNmIfJIl0b5gn4cp2mLppQlaRBRmoW5f4ebZRkiViT76SpnmASeUlRVhSVSSlQV5VZcHpYld4RY-e7TLWWBCNc_DTiyso0lAdoqOMdDfGoADiAAyCVYBCDUpvspVYOkw0TWN6ybMS-zVJWJK6LIUCJBYIKpCwBgYNm-LxjkkrShgLC_PSEAYBwO2nQyoo0ks03cFIEBwK13DjM18YTtwU5lSwi7blxEwA6uwMNCAExVftszTeIMixC9dpvdUH00joKgsJYsPJk2UMzNNJg7BUpBQNwAgTMjLI5PwMgqMNT6U9k1No_gah5BSeZMI201YJosMyLI-B5nIEBWOMtHczUkDmgGQbdBgjTg9tAwSxEXhY9UIEM-NtTS4GwYAJKSCYowixUXNa6UGyPZIYAa-DDPivGjslE0ixtrMaBsh23a9v2ag6HqvU6CwTBSGAWpAA) you will see differences. On the line chart you can't interact with chart - tooltips and zooming don't work. But in the reproducing example all this works, even when preloader was active. Also in GL, it seems that GL chart is placed above the prelaoder. -- 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
Re: [I] 制作钻取地图,向下钻取时没有过渡动画了? [echarts]
Mr-bean-z commented on issue #14069: URL: https://github.com/apache/echarts/issues/14069#issuecomment-1931226288 请问解决了吗,3d地图下钻有动画但是会有残留 -- 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
Re: [I] xAxis interval option not works with timeseries line graph [echarts]
Lovor01 commented on issue #14305: URL: https://github.com/apache/echarts/issues/14305#issuecomment-1930997786 I add one to this, also need interval on time axis, but it does not work. -- 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
Re: [I] [Bug] `connectNulls` option is ignored by stacked areas [echarts]
EmmadUsmani commented on issue #19598: URL: https://github.com/apache/echarts/issues/19598#issuecomment-1930565303 I would be happy to work on a fix for this, just want to confirm first that the expected behavior seems good to the maintainers. -- 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
[I] [Bug] `connectNulls` option is ignored by stacked areas [echarts]
EmmadUsmani opened a new issue, #19598: URL: https://github.com/apache/echarts/issues/19598 ### Version 5.4.3 ### Link to Minimal Reproduction https://echarts.apache.org/examples/en/editor.html?c=line-simple=PYBwLglsB2AEC8sDeAoWsAmBDMWDOApmAFzJrqYQC2B0eUdpA2gEQAeLANLCwJ5c9eAJhYBdTuXR5gAVwBOAYwLNJFJLDakAjN17bdQ0gFZYAXwkU1G0kN2loMgDaODpACxmLl5NdgBmO39XWC1PVVFyc3I2AEE2CDxSVEswXhBlWAByBRwCAHNgOV5Mryj0XjiEpNVU9NJMgDcsRxkCTMivQjkIAkTYJlVk71qMzMcIaDavSwUYSYUwADknRz6wOVbpiiw5AiwAZVTHDKQy71pZjBPVS00eDi3LPUEuG7DvWDxcBQBrUhYvlhfq9LGd0EMUmlRuNJiU3rNoPMlis1hsCI9YDs9odeMckmCKBdgFdqh90Hd2CCyc8-CIMQSpN8_jxAcCtqZyBFTABuIA ### Steps to Reproduce Is visible in the reproduction ### Current Behavior https://github.com/apache/echarts/assets/37751258/47d772c6-2759-4db7-afab-ae703210007a;> The green area of the second series (y2) dips below the first series (y) at x=2, where y is null ### Expected Behavior https://github.com/apache/echarts/assets/37751258/e83ee240-b55c-4be2-988d-65a599acd0a3;> The green area of the second series (y2) should not dip below the first series (y) at x=2, where y is null. Instead, because the `connectNulls` option is `true`, it should behave as if an interpolated value of y=2 is there, and render its line and area accordingly. ### Environment ```markdown - OS: macOS 13.6.2 - Browser: Firefox 123.0b7 ``` ### Any additional comments? Seems like this issue was reported twice before, but those threads are old and inactive https://github.com/apache/echarts/issues/12404 https://github.com/apache/echarts/issues/17135 -- 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
Re: [I] [Bug] stack for null value with connectNulls: true, the color from the upper values overflows to the bottom. [echarts]
alxnddr commented on issue #17135: URL: https://github.com/apache/echarts/issues/17135#issuecomment-1930550221 We're experiencing the same issue https://github.com/apache/echarts/assets/14301985/7fb66a61-160f-434a-8b1e-88eecffc8e75;> -- 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
Re: [I] [Bug] loading layout was overlapped by graphGL [echarts]
helgasoft commented on issue #19597: URL: https://github.com/apache/echarts/issues/19597#issuecomment-1930508723 Did you forget [hideLoading](https://echarts.apache.org/en/api.html#echartsInstance.hideLoading) ? [Demo](https://echarts.apache.org/examples/en/editor.html?c=graphgl-large-internet=1=dark=LYTwwgFghgTgLgOgM4QPYHcAyqoBMCWAdgOYAUAlANwBQAJAsQKZwBSAygPIByp1ABHwBKHDgBUA-gAUAgqIASfANR8A5AHpcUOFAC0xADZqoSJMw1aoaonEYxCzBjCgAHCAgBWSVIRUAafnwAZgCuhADGcPjefKTETq7kfADeAQIAbrB8jLhMSHwAvHxxLm7ZuQjALqQh4ZHRpGWMiSkCrXwwzMF2yaltfF5dYYwAXFk5jADaAAwAuv59rdowTHCjjRMAjHO9bRn6wSN8AEw7fAC-NG1nVL0ZMHxhWozEqDD4jHmFEzOXrXcPTxebw-AFkXAVkhdbplCKhcB8IcVXAhYfCkBUqjUIlFCDFUU0egt8IEYgBCR42IHvJBg5wTfETADMMxmzVOAgpz1e1IQzmCKFILQWrUIUGAhwZzPZ5xuwoBlO5oJc9Lhk2ZMwhcBgB1-V1OHTgXVxQoWAA9RmC4G4nIRcKhgBQ-AAqPjoIh29AIIj2GAAdXwuCt82FIAtWmtUFt9sdLrdUc93tsckY-GIEDgwYWajUfHNfAZs0zfWzfFD-dVm22cqQIGAACNUPo2PgAF4SitHKvCzlAsuSrsLPYHUYbU5Qq6y1qgSCwRCmOAcZx1QiC05hRuvUYTaUqZZ10hHKaM3xHRkATl8GwArOQ_Du96QAOzH68n8-3ottXfEfeni-njZLxvO85W_fdXyODZHzfM8P3vH9SEZKYgJguDQIfV8oIAFlQkDhTA0gNg2AA2GCgLQ_CHz_FCrwADgohYCIg89L0fLCGL6Aj qI2KYjnIvDGKoljMOAz9WiYq9fCwnC_w4r8hIvDYsMk685PEh8kLI1SBM4hTL1o2j-LEgQJP_YTRPg8Cr0UyTZJ0-SEOYi9pLUkyMNsljaMfVzVHcsjIO8-z1IQw8Xw82CgrckLzP0-jIt86KbMvXifK4li6KMyyDxipSLPQxySJQuzjISqzL0ZQDiqy58tLyyjHPC8qNlSvyvNwkq0qSgDb1OAdWlMYEkC3aUTWFOAQGcQ4VCRCAAHFMHigR8SG8s0RKgRGhWzb1vlLlBtGHtFXRLx4GqUJsXqKBfD4Os2TlNoDSNPgoBRMVGD4HQbte8VdWFa4dv0IhGDYcb9EOUa5XXfRN1KqADyvWyEZPJGpgQI4evu84dvwGxgBBkAwdGCHhVQZwoDCHGy1HTGzh2gAtQJXiGaQ4H0YwjiJ6U2iQGxnBWwCuf6uBSdECAOhQRtcBHHaBHcHGbBgURG1sRhwkOHiZbGJhfRTNNVj4aY0eurZNeKNJKdGZDBY28YddTdMAElCECfZVaGaXrf6R5AZIS20cFs5pUDhYZl6a5funaB4AQCAA0YbA8CIMhJ0DqggA) please close issue if problem solved. -- 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
Re: [I] [Feature] Sort bar chart by series weight [echarts]
helgasoft commented on issue #19596: URL: https://github.com/apache/echarts/issues/19596#issuecomment-1930471538 Sorting is data preparation, done by developer. ECharts is just a display machine, no AI yet. [Demo](https://echarts.apache.org/examples/en/editor.html?code=CYZwBAvGDaBQYwMwCYAMAaMjXM9gjHogCx4CcGW2eaAuuvDMmpvgBy5j5mFjImZkFIpUTZ6jaB0psUmCrzICuQyvjFqUqWrFoBuWKAB0AMwD2AJwCiAQwDGACwAUTgB4BKSAD4wAb0YWAKYALgCuFgB2YK5GIJbBTiahEXbBAJZmUU42mABGnv4ICEFhkWA2YAC0YLkGCAC-7gaNBqDQ2kbJIA5pJgkA5AAiaUGp_U2GIND4tJ0R3b0DALI2aQA2YACCwOOtU8izXT19Tv0AamnAgWZbOxPGR4tO0P0AtjbBFmmu_Zj9S5lfmB-gAVUKBIH9ADqgR2fxBDlCkIAYl9IQBlD4Y5L9WgTXI2CyQPyMYIATwADoEAFzAgkWX6MEDBewAa1p_WCZhZa0ZCBAgS-gRAABkbGSzKFggAhMkcixmADufLAaxsuUCa1pvjA3SVtM-4LA9QYCECrwpDhsIDSIG1YHMdlCduBAqFIH6xtg9QMsDMFPSmWJhTAXLMa3SFO1jAQnzSAHN44KOTZXLaVQhU7aAApmNIRYLJvyhyk011W4BKz31RgmxhrQJJiLAbV1hCuTZpl2-NtgMmd2328lUjl2D6Nyxk6umsDAD7WkL2uLhOxl0DGmdutLC2nQel5QkHiw6H1AA). ![image](https://github.com/apache/echarts/assets/13038071/fa867abe-7180-41af-9a50-8fb8a5b185ee) -- 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
Re: [I] [Bug] Option 'target=ES3' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error. [echarts]
ArturV93 commented on issue #19560: URL: https://github.com/apache/echarts/issues/19560#issuecomment-1930217281 > Can you provide a minimal repo for reproduction? Thanks. To reproduce this issue, simply update TypeScript to version 5 or higher -- 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
Re: [I] markArea xAxis does not work as expected for category axis and bar series [echarts]
manelAbbes commented on issue #12341: URL: https://github.com/apache/echarts/issues/12341#issuecomment-1929949767 Hello, I am still experiencing the issue where the mark area covers half of the day. I am using ECharts version 5.4.3. Do you have any ideas on how to fix this? https://github.com/apache/echarts/assets/159129996/e9bdc58c-6200-462f-bd6c-c4dae502411b;> -- 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
[I] [Bug] loading layout was overlapped by graphGL [echarts]
AndreyPatseiko opened a new issue, #19597: URL: https://github.com/apache/echarts/issues/19597 ### Version 5.4.3 ### Link to Minimal Reproduction https://echarts.apache.org/examples/en/editor.html?c=graphgl-large-internet=1=dark=CQOg5gpgLgUgygeQHIAoBQACDAlBCAqA-gAoCC-AEhgNQYDkA9ACYCGULAtGADYMsDO_aMzYsGASwB2UCACdJ0cLJYAHABYgAVvwD2kugBpMGAGYBXSQGMo4vRhRhl6gJQYA3sawA3FrIwQmSH4MAF4MR1UNAKCQAFtVFHMrGzsUaIhXDyxsjFloM3l3TxyMXQLLCAAuf0CIAG0ABgBdIxLs9llIKGr0uoBGFuKcn24zKowAJiGMAF8AbmKZ5wXh3wxLNggwHVlxCGCwuqaV7J8_DZlt3f2AWVVQ93nis4xJHSZ9h4j1EDeP_jiCSS1lsknsfwyRTa4hM9gAhBctjs9vw7io6hC6gBmJpNTLTLCIq4okAqMz8NQoLJtbKSFixcaYnEE2bLFlE5G3VQY971HFNB5QWRjE45GbTPJQApg6ltAAe1TuUA0ykkTB0sRQrgAVBgAO5SdV6kBSBSyADq4iYytaNIAnoq2CqWGqNVqMLqDa7jaa5BQIOIwGooLa2gwGBgFa9eY1BjSMOGMA7ox9-nGafw7bEAEY6bhwcQAL0ZMYm6baHNkyaZ5ZKIzG1T60yeYrZOVidoAwmpfFAQEIoAgVClJFTppY8ztqnUWXROtmUBMGliDBMsQBOAx9ACszkMs_nKAA7Cud6uN3vQyU52AF2vN2u-lvd_v4zeF2eJn0j-f15eD7eKBYg0z6_v-b6Hme34ACxga-NLvigfR9AAbL-z7gQhh73qB24AByYW0iGfhuW5HtBhHXthpF9A0EwYfBRHUZuUEvleOTEduBjQbB96URxzFbtBXE7vx2SIcB6GiYxVGAThfR4XhDHseJkHbg-NFsQBH7qaBfEyQJgEkZuPFiVgnHoXhR5mfQanoV-1kGapcnLnpF5OeZgl QYpNmIfJIl0b5gn4cp2mLppQlaRBRmoW5f4ebZRkiViT76SpnmASeUlRVhSVSSlQV5VZcHpYld4RY-e7TLWWBCNc_DTiyso0lAdoqOMdDfGoADiAAyCVYBCDUpvspVYOkw0TWN6ybMS-zVJWJK6LIUCJBYIKpCwBgYNm-LxjkkrShgLC_PSEAYBwO2nQyoo0ks03cFIEBwK13DjM18YTtwU5lSwi7blxEwA6uwMNCAExVftszTeIMixC9dpvdUH00joKgsJYsPJk2UMzNNJg7BUpBQNwAgTMjLI5PwMgqMNT6U9k1No_gah5BSeZMI201YJosMyLI-B5nIEBWOMtHczUkDmgGQbdBgjTg9tAwSxEXhY9UIEM-NtTS4GwYAJKSCYowixUXNa6UGyPZIYAa-DDPivGjslE0ixtrMaBsh23a9v2ag6HqvU6CwTBSGAWpAA ### Steps to Reproduce 1) open chartGL example 2) activate loading screen (add `myChart.showLoading();`) ### Current Behavior The GL layout is positioned on top the loading layout and interact like normal chart (tooltips are active) ### Expected Behavior The same behavior like other echarts (not GL) ### 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
[I] [Feature] Sort bar chart by series weight [echarts]
AntidotUser opened a new issue, #19596: URL: https://github.com/apache/echarts/issues/19596 ### What problem does this feature solve? Version 5.4.3 Link to minimal reproduction No response Steps To Reproduce When drawing stacked bar graph in echarts the series in each stacked bar are sorted randomly. Current Behavior https://github.com/apache/echarts/assets/159126129/92a1f4ab-d08d-4b0a-88ac-1974ffb9e364;> Stacked bars are sorted incorrectly. Expected Behavior The series in each bar should be sorted with the highest (at the left / bottom) to the lowest (at the right / top) based on the value of the series. Please take into account vertical and horizontal bar charts. On the example, on the right bar the blue series should be between the yellow and the red ones Environment ``` - OS: - Browser: - Framework: ``` Any additional comments? Any configurations/options in echarts that can be done to achieve this would be helpful. ### What does the proposed API look like? Ideally, a "sort" boolean parameter on the "xAxis" and "yAxis" options should be enough, which default value would be "false" in order not to break anything already existing. -- 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
[PR] doc: add doc for 5.5.0 [echarts-handbook]
Ovilia opened a new pull request, #106: URL: https://github.com/apache/echarts-handbook/pull/106 (no comment) -- 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
(echarts-handbook) 01/01: doc: add doc for ssr apache/echarts#18381
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a commit to branch dev-5.5.0 in repository https://gitbox.apache.org/repos/asf/echarts-handbook.git commit a3f570a945f471297ceb23ab2a51d9af43b2cd66 Author: Ovilia AuthorDate: Tue Feb 6 17:53:35 2024 +0800 doc: add doc for ssr apache/echarts#18381 --- contents/en/basics/release-note/5-5-0.md| 21 + contents/en/how-to/cross-platform/server.md | 119 +++--- contents/en/how-to/interaction/drag.md | 2 +- contents/zh/basics/import.md| 8 +- contents/zh/basics/release-note/5-5-0.md| 21 + contents/zh/how-to/cross-platform/server.md | 125 contents/zh/how-to/interaction/drag.md | 2 +- 7 files changed, 266 insertions(+), 32 deletions(-) diff --git a/contents/en/basics/release-note/5-5-0.md b/contents/en/basics/release-note/5-5-0.md new file mode 100644 index 000..072982a --- /dev/null +++ b/contents/en/basics/release-note/5-5-0.md @@ -0,0 +1,21 @@ +# Apache ECharts 5.5.0 Features + +## Enhanced ESM Support + +This feature is a significant change to the default ESM package, specifically designed for developer testing and Node.js usage in module customization scenarios. + +Previously, ECharts only exported `*.esm` files in npm (in the lib directory of the npm package). While this worked well in bundlers, it didn’t perform as well in the Node.js runtime and some Node.js-based testing frameworks like vitest and jest. + +With this new feature, we’ve made several changes to improve this: + +- Added `"type": "module"` to package.json +- Added `"exports": {...}"` to package.json +- Added some `package.json` files to the sub-directory, which only contain `"type": "commonjs"`. + +These changes mean that files like `echarts/core.js` can now be resolved as ESM in environments like pure Node.js, vitest, jest, and create-react-app. + +Please note that if using `"exports"`, the files that are not declared in "exports" will be invisible from outside any more. Also, the path must start with `'.'`. + +We’ve also ensured that this new feature is compatible with a variety of environments, including runtime (node / vitest / jest(create-react-app) / ssr / …) and bundlers (webpack / rollup / vite / esbuild / …). + +We’re excited about this new feature and believe it will significantly improve the developer experience. diff --git a/contents/en/how-to/cross-platform/server.md b/contents/en/how-to/cross-platform/server.md index 77d89d7..fd69db2 100644 --- a/contents/en/how-to/cross-platform/server.md +++ b/contents/en/how-to/cross-platform/server.md @@ -18,9 +18,17 @@ Server-side rendering also has some limitations, especially some operations rela ## Server-Side SVG Rendering -If you are using 5.3.0 and newer, we strongly recommend that you use the new zero-dependency server-side string based SVG rendering solution introduced in 5.3.0. +### Server-Side SVG Rendering + +> Version Update: +> +> - 5.3.0: Introduced a new zero-dependency server-side string based SVG rendering solution, and support for initial animation +> - 5.5.0: Added a lightweight client runtime, which allows some interaction without the need to load the full ECharts on the client side + +We introduced a new zero-dependency server-side string based SVG rendering solution in 5.3.0. ```ts +// Server-side code const echarts = require('echarts'); // In SSR mode the first container parameter is not required @@ -48,9 +56,9 @@ The overall code structure is the almost same as in the browser, starting with ` - Firstly, since the SVG is rendered on the server side is string based, we don't need a container to display the rendered content, so we can pass `null` or `undefined` as the first `container` parameter in the `init`. - Then in the third parameter of `init` we need to tell ECharts that we need to enable server-side rendering mode by specifying `ssr: true` in the display. Then ECharts will know it needs to disable the animation loop and event modules. -- We also have to specify the height and width of the chart, so if your chart size needs to be responsive to the container, you may need to think about whether server-side rendering is appropriate for your scenario. +- We also have to specify the `height` and `width` of the chart, so if your chart size needs to be responsive to the container, you may need to think about whether server-side rendering is appropriate for your scenario. -In the browser ECharts automatically renders the result to the page after `setOption` and then determines at each frame if there is an animation that needs to be redrawn, but in NodeJS we don't do this after setting `ssr: true`. Instead, we use `renderToSVGString` to render the current chart to an SVG string, which can then be returned to the front-end via HTTP Response or saved to a local file. +In the browser ECharts automatically renders the result to
(echarts-handbook) branch dev-5.5.0 created (now a3f570a)
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a change to branch dev-5.5.0 in repository https://gitbox.apache.org/repos/asf/echarts-handbook.git at a3f570a doc: add doc for ssr apache/echarts#18381 This branch includes the following new commits: new a3f570a doc: add doc for ssr apache/echarts#18381 The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
Re: [I] Zoom with drag [echarts]
slymnozdmrc commented on issue #13397: URL: https://github.com/apache/echarts/issues/13397#issuecomment-1929050716 +1 -- 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