Re: [I] [Feature] When hovered individual data in pie-chart, label Value change [echarts]
MatthiasMert commented on issue #19688: URL: https://github.com/apache/echarts/issues/19688#issuecomment-1982824727 [Example](https://echarts.apache.org/examples/en/editor.html?c=pie-doughnut=PYBwLglsB2AEC8sDeAoWszGAG0iAXMmuhgE4QDmFApqYQOQRjUC29xAvgDTHbU3QAJoVQkMoBgFYApPR5i-AMzAMAxtWjNS7dN2IBnWhGr7CAbWLpRY2NACGLagwCCq9fv2wAYqWBt5NmAAniBOsPQgxnKWJKR2ghAArqawZvQALAAMslzhAOzZ9AC6AWJ2AG7AEIIAMnYARtTYAPLltNh2BLCKdtiGpSQdjdgiMWL6ABbAAO6EYKSJ1ANiIMD6TFDQahpa0TYkijBgAMoQAF5hWcsHRwDq1JQTKuH1OII6Nnr7Q001ENBhaz7SYzQg9PrUMawL42QR2MB2cxQqywcq9RaEACMmXSAA5cvZHAxjtQ7KRVBNYABRaAUf7UejQ64otHYDGwPIAZkkBIcYXoABEIKRqKowIyYfskKj0WFJLjMryieEqSw7BBsBLmcgZWzLrj0kr-QBVaCbWDOQT6LXInWs9mczKK2x8hgANWq1GAFqtEqhRRiHGIAY4AG4UCgWEEAMITMlgAB0MAAFPQWMBkl62tpcopEtAxZtkyAyQ59ABKIjoKOx-MJwxgZrgItIQzkEzmJA_EbIQ6kNVgLSEZOV-AAPlgJbiLH0CcJ1A4HCKHHL4ZXoaAA) -- 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] markArea is not accurate with bar series [echarts]
MatthiasMert commented on issue #19668: URL: https://github.com/apache/echarts/issues/19668#issuecomment-1982808508 Here is a [minimal example](https://echarts.apache.org/examples/en/editor.html?c=line-simple=PYBwLglsB2AEC8sDeBYAULWAPAgliAzgFzLqbmxgCeIApiQOQDGAhmLQObABOVDANGQqwAJmxYkA2gEZ-AJn4BmfgBZ-AVn4A2fgHYAuoIzkAvkcxU8hEkmp1GANxYAbAK60GZoQVrcItYlhJIUxUYwo7elgGACMWbgEQ8gBbeIBrHG5aCVJw4TEwHOC84SCkXHxAhkVPflCK62j1T30kilaS2BMkrzyw0sjGAAtssFSQRM7U7gysnP7S0XEpNuFJcqsqmrN6zcZmkw7F2CPhbrzzzA6TAG4gA). It seems that different series types consider either the border of a category or the center. -- 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] When hovered individual data in pie-chart, label Value change [echarts]
Sandeep13-web commented on issue #19688: URL: https://github.com/apache/echarts/issues/19688#issuecomment-1982799602 what i want is to show it in default state as well. the official exmaple only shows on emphasis. I want the same thing but in label -- 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] When hovered individual data in pie-chart, label Value change [echarts]
helgasoft commented on issue #19688: URL: https://github.com/apache/echarts/issues/19688#issuecomment-1982597783 [official example](https://echarts.apache.org/examples/en/editor.html?c=pie-doughnut) is no good ? -- 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] Add sortIndex for color callback of itemStyle when using realtimeSort [echarts]
helgasoft commented on issue #19684: URL: https://github.com/apache/echarts/issues/19684#issuecomment-1982595152 > no params provide sorting info of data. I have to sort data manually before appling them to the bar chart So you want to change items colors, instead of preserving them as in [official example](https://echarts.apache.org/examples/en/editor.html?c=bar-race-country) ? Please make an effort to create **Minimal Reproduction code**. -- 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] Single chart multiple graphs legend for each graph is not what is expected [echarts]
MatthiasMert commented on issue #19687: URL: https://github.com/apache/echarts/issues/19687#issuecomment-1982577154 If you want your legends to contain specific items you have to configure them in [data](https://echarts.apache.org/en/option.html#legend.data). Otherwise, how would echarts be supposed to know which legend is for which grid? [Example](https://echarts.apache.org/examples/en/editor.html?code=PYBwLglsB2AEC8sDeAoW6OwOYCcIBMAuWAbTUw1QooCNgwxgBbQgcgHYAGAUlfOoC-AGn4Uq1DIxBsALD1YiJGOg2az5ozMM2UdmKWy69FEgToC6JzABsApllvQipPcleTQxVvKtL8AQzB_YhJWAEFWc1dtJXElWANYVgBmAFZjd3QAoJDWACEFJIBhQtYAEUjo30w4iUTWADZ0hUzs4NJWAFFKpTNqSx1GYGtIaWQYijaAZ1swYlrqfAgmRymoaCnc7NsFcN2CoVYSw4rD7oH42CngAFccAGNbEPISACIAJk53mQBaTgBGP7_V5Cf6gzigsEATiEMgupA-X1-AL-7xB73BkKEAA5YfC3p9vkC_skQclMf8wew8SYCUjiZwZCCZBSwQ0aS9EUSUZxUiDUqyhAK4bSucjAZwGiD2f8IZTYRz0HTuRL2CDqbKseSRZzCeK_tiQbjNfKMTqlWKGVCQTCTWCweaEXribKQSa5WCIY7lfrKW77R6hF6olFBNVYAAPMIRiCbFyxBIATxATySkBWhVwBAAkk5bBHiJxYBNqEgkymvOmdkJsHh8Ln8PniP9i-H0GWwMnU6wq5m6w2m7B3sWLOHE9HY88E52K0kAG7-aw3au1nN5guwIslsTl7sLpcrrP19fN1uuDtdrz75d9teNjfDvoUeGYfzQZaBdbEABmi5m4ZmPBbCmWApwkBYKGgfwVi8CI20kS8kmsCBoGrTJ7mGYAcC8GgDxaS5HAwxt5kydAN1YbZ8MuWBE1gvhLifMNz0yKCYKSA5MhnbtkNQqilAw6wsK8XBbEcPiJCjGMpgHDcwUyccpJk5t4PQQjgGItxqMjLxKJUjBaPY-j4kYihtxqFjoO7Y5OMQ1geLQy4BKEpIsLfBxxOoSTYyU2A5MuBTvJPXy9LUjSIM8nTAgc6iDKO IzeiqZjLlY7tThs2c7JQ6L-Mw7CkkTWxrEEgB3DyKC86Sgr8-IAsq-9lMyULU3C8rIrAbKaq8CpMhMrR4Ja9AUq8bo9K4rx7LKzAnLy1gcFsfBJowCqfIxeSJzqwdVoI6AiOa0jtKSXT9ti7oeuiCwBAAbiAA) -- 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] TS 约束问题 [echarts]
echarts-bot[bot] commented on issue #19689: URL: https://github.com/apache/echarts/issues/19689#issuecomment-1982386112 @dadaguai-git It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 珞 TRANSLATED **TITLE** [Bug] TS constraint problem -- 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] TS 约束问题 [echarts]
dadaguai-git opened a new issue, #19689: URL: https://github.com/apache/echarts/issues/19689 ### Version 5.4.3 ### Link to Minimal Reproduction 无 ### Steps to Reproduce 1. 初始化echarts 数据 2. 使用`setOption `api 更新新的参数 3. 使用`setOption`api 中 `replaceMerge` 配置 ### Current Behavior TS 进行报错 并且查看index.d.ts 发现并没有抛出`replaceMerge` ### Expected Behavior 提供`replaceMerge` API ### Environment ```markdown - OS:windows 11 - Browser:Chrome 122.0.6261.96 - Framework:Vue@3 ``` ### Any additional comments? ![demo1](https://github.com/apache/echarts/assets/35138018/05244399-79b5-4beb-9ea6-61985acfad1d) ![demo2](https://github.com/apache/echarts/assets/35138018/c1091d83-b612-405d-b788-0918e414c71f) -- 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] When hovered individual data in pie-chart, label Value change [echarts]
Sandeep13-web opened a new issue, #19688: URL: https://github.com/apache/echarts/issues/19688 ### What problem does this feature solve? What i want is to show the label in default but when i hover another data, the label's value should change. I dont want to use emphasis as it overlaps with the label. ### What does the proposed API look like? ![image](https://github.com/apache/echarts/assets/67087761/32ad19e6-bc2f-4bcc-91c5-dd9df2b70a5a) -- 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] [Bug] Single chart multiple graphs legend for each graph is not what is expected [echarts]
msmcgillis opened a new issue, #19687: URL: https://github.com/apache/echarts/issues/19687 ### Version 5.5.0 ### Link to Minimal Reproduction https://echarts.apache.org/examples/en/editor.html?code=PYBwLglsB2AEC8sDeAoW6OwOYCcIBMAuWAbTUw1QooCNgwxgBbQgcgHYAGAUlfOoC-AGn4Uq1DIxBsALD1YiJGOg2az5ozMM2UdmKWy69FEgToC6JzABsApllvQipPcleTQxVhqXal4pVgDWFYAZgBWXlc_CQCJYNYANki-XwsrD2BrSGlkGMx8AEMwQoBnWzBiOOp8CCZHUqhoUuISViKwWwVWAEFugCFugGFugBFugFFWS3dYUuAAVxwAY1tW8hIAIgAmTm2ZAFpOAEYj482hY8vOS6uATiEZGfQt3f2zo-2L7evboQAOR7PUg7PaHE5HUIXUK_Y5XdhAkyvMEfTgyC4yWFXRKIjag94QzjhC7hLFCUlPJH48GnTiJC3OGPXEvamo9gXBFMv4wyl4t40o7_C6A3ksn4C9lC1F3C4PCVXK7SkGyiFMi4S5lXG6q5EE05wrXKnVCPXmFCWwQZdAADx6dogLRc_iCAE8QGsQpB6gpsHh8ABJJy2O3ETiwfJiD1ery-rpCAMEEP4MPEY5R22UWPe1gJ_24FOh8OwbZR9I6d2O53rN1gT15gBuhWsC0TyeDJYjWdcSFzXhbbY7Ra7adLmejmH7DbjISH7cLgdT6bLFeowMwhWgdWKTWIADNW-Vs-U8LZSrA67FZtBCvUvH1s_pG15rBBoInZAcF4aGHBRZkcH80yqWZ7S8Dov0CDB3UfVJAjMXxnzcOC7wfEJBjQ9BZzzd9P2AuCf2sP8vFwWxHGIwIHSdUoVwnXDYGrejGIzZjQOAcD0Lg2BS3aYpYL4hDsKQtJUL7W97zzEZmPwt8P2EpRSPIkI_23BwaKUOjnXY2ArlmVi9O7AzOOgMDvWqCQBJg7TAlE1gRlmFDTDQ6zMEwvNxnk18QkI5SJFU_8QndWxrDIgB3ezqF0hjTMMuDjPi 8cOJAizuKsyD-OgoSYokRzxhc6J3OkrDWCmXy51YAL8swYKvBwWx8DqjA4v0n4jJrFLV06uCuJ4jyKFsvLmPQRypmKiSKHMAQAG4gA ### Steps to Reproduce View Reproduction. Look at legend for each chart. ### Current Behavior Legend for each chart includes lines from all three grids. ### Expected Behavior Each charts legend should only include the items actually in that sections chart. So the first legend should only have A the second legend should have B, C and D, the third legend should have E. ### Environment ```markdown - OS:MacOS - Browser:Chrome - Framework: NA ``` ### Any additional comments? Attempting to combine multiple charts into single chart with single dataset. Attached is an html file that can be used to view the desired charts vs the currently generated chart when combined into a single chart. [t.txt](https://github.com/apache/echarts/files/14518262/t.txt) -- 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
(echarts-bot) branch master updated: sync from glitch
This is an automated email from the ASF dual-hosted git repository. wangzx pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/echarts-bot.git The following commit(s) were added to refs/heads/master by this push: new 6c44e9a sync from glitch 6c44e9a is described below commit 6c44e9a6244cf4744f0376e1e6599ace393d697f Author: plainheart AuthorDate: Thu Mar 7 09:37:24 2024 +0800 sync from glitch --- src/translator.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/translator.js b/src/translator.js index 62eafc8..5271827 100644 --- a/src/translator.js +++ b/src/translator.js @@ -10,6 +10,8 @@ async function translateByGoogle(rawContent) { { to: 'en', // tld: 'cn', +// not use website & dictExt endpoint +endpoints: ['api'], randomEndpoint: true } ); - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
(echarts-bot) branch master updated: feat: enable new bing translator MET mode
This is an automated email from the ASF dual-hosted git repository. wangzx pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/echarts-bot.git The following commit(s) were added to refs/heads/master by this push: new d8d109b feat: enable new bing translator MET mode d8d109b is described below commit d8d109b2512ce215c6bf8da5a2528cabae4833f5 Author: plainheart AuthorDate: Thu Mar 7 09:29:27 2024 +0800 feat: enable new bing translator MET mode --- src/translator.js | 19 +-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/src/translator.js b/src/translator.js index 67384db..62eafc8 100644 --- a/src/translator.js +++ b/src/translator.js @@ -1,5 +1,5 @@ const googleTranslate = require('@plainheart/google-translate-api'); -const { translate: bingTranslate } = require('bing-translate-api'); +const { translate: bingTranslate, MET: { translate: bingTranslateMET } } = require('bing-translate-api'); const franc = require('franc-min'); const logger = require('./logger'); @@ -41,6 +41,21 @@ async function translateByBing(rawContent) { } } +async function translateByBingMET(rawContent) { +try { +const [res] = await bingTranslateMET(rawContent); +return { +translated: res.translations[0].text, +lang: res.detectedLanguage.language, +translator: 'bingMET' +}; +} +catch (e) { +logger.error('failed to translate by bing MET'); +logger.error(e); +} +} + /** * To translate the raw sentence to English * @param {string} rawContent sentence to be translated @@ -50,7 +65,7 @@ async function translate(rawContent) { if (!rawContent || !(rawContent = rawContent.trim())) { return; } -const translators = [translateByGoogle, translateByBing]; +const translators = [translateByGoogle, translateByBing, translateByBingMET]; const randomIdx = ~~(Math.random() * translators.length); let res = await translators[randomIdx](rawContent); if (!res) { - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
Re: [I] [Bug] 图标中的代表标注缺失了。 [echarts]
github-actions[bot] commented on issue #16618: URL: https://github.com/apache/echarts/issues/16618#issuecomment-1981783448 This issue has been automatically marked as stale because it did not have recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this issue. -- 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] legend textStyle rich align work wrong [echarts]
github-actions[bot] commented on issue #16611: URL: https://github.com/apache/echarts/issues/16611#issuecomment-1981783411 This issue has been automatically marked as stale because it did not have recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this issue. -- 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] renderToSVG does not work with Node.js 21.5.0 [echarts]
andreasloe commented on issue #19670: URL: https://github.com/apache/echarts/issues/19670#issuecomment-1981748603 In case someone is having the same error: I now suspect that I installed the wrong version of node or mixed something up there. I recommend https://www.instructables.com/Install-Nodejs-and-Npm-on-Raspberry-Pi/ in case you have a raspberry. -- 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] renderToSVG does not work with Node.js 21.5.0 [echarts]
andreasloe closed issue #19670: [Bug] renderToSVG does not work with Node.js 21.5.0 URL: https://github.com/apache/echarts/issues/19670 -- 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] renderToSVG does not work with Node.js 21.5.0 [echarts]
andreasloe commented on issue #19670: URL: https://github.com/apache/echarts/issues/19670#issuecomment-1981724962 I justed checked it with another RPi and there everything worked. So it has to do with my installation. I am closing the bug - nevertheless, thank you for your effort and time you spent on my issue! -- 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] renderToSVG does not work with Node.js 21.5.0 [echarts]
andreasloe closed issue #19670: [Bug] renderToSVG does not work with Node.js 21.5.0 URL: https://github.com/apache/echarts/issues/19670 -- 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] Multiple stack names [echarts]
helgasoft commented on issue #19682: URL: https://github.com/apache/echarts/issues/19682#issuecomment-1981720838 > it seems quite a bit hacky. Yes, it is. > I use custom tooltips anyway, but: is there an easy way to remove/exclude the duplicated series from being displayed in the tooltip? No, custom tooltip is the way to go. > Various other side effects from duplicating the series "A" may also occur. Yes, we need to mitigate them - [Demo2](https://echarts.apache.org/examples/en/editor.html?c=area-stack=CYQwLiCCAEC80G0CMAmADAGmkgzCrSaSBOALFgJybQo7UqEC6A3AFAD2ADmAJbsB2caAG9W0aLzAAbAKYAuEWPESZADzAKA5AGUIAYwDWM4NEgAnGSGgBhABYgzYTUoC-GJWHbspvTgtHKEmY8AOYhMmZaIKo8AM6a7oHRcQAK7Dz8YBH-SoFgAJ6c8tCaembssfGJgdBSIABGMlI5Ncr1IIYh5QCu_MDW3uyRJQDEAGwgAOwUABwArM6tLrnQy-JuSrLhff6r1aqQMbEKCCsBNfXsvaBm-QDiIH7QAGYgUrEy1YGgECeaALICBIlAAq3RkwM0AHVjJCQbZupCAGLBSHacBo3qaRgrNbQRjVfKHOL-DbiD7BGTHRBnFbifggAC2xU0kASdIkhRZUgyEK-yli-gMWnq7NaDksunyslJ_PEMkZnHssRJIhe7D03WpmgpPCpmj2HJ-IAUxsguP550CDOZWjZcs5RS0PP4fI5go6wpKejFNVi-UZl2aJX4Ajd4osIClMpEekGkU0YDMIH4sU4EsymjJNRdMmjxWEcakQzkieTqfTFkz2cCCqVIBV1OE0GAcQasmAciT4MNrQ-sj0GjVrdi7eMXbMPZrymNpvAUAttNaNpZACFfXkuc7eRuBUKRbvxBKowUY8I3NAAF5yHAOuvK1XN54arVaXX63s1WeIFDoAgzfBsAoYgaDILAUCoLAcDoKCmEXQIrWUFctGsQ9HW5HcHQ9QwtB9B1j3zWUrzkcgOXvBtH3VTVtXfeJP2-ecTiQOZ6DwcCiAIOZyCA6hoOoUg4MCbMcRcZggA) -- 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] Multiple stack names [echarts]
mKainzbauer commented on issue #19682: URL: https://github.com/apache/echarts/issues/19682#issuecomment-1981693689 Thanks for the input, this is a partial workaround. One side effect is the duplicated entry in the tooltip: ![image](https://github.com/apache/echarts/assets/58649043/00debeb1-3d45-418a-a737-5517d592ba89) I use custom tooltips anyway, but: is there an easy way to remove/exclude the duplicated series from being displayed in the tooltip? Various other side effects from duplicating the series "A" may also occur. So it seems quite a bit hacky. Anyway, your input is very much appreciated, I hope I didn't sound rude in my reply. I totally understand bad judgement in the early hours (although it's late in the evening at my place :) ) -- 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] Multiple stack names [echarts]
helgasoft commented on issue #19682: URL: https://github.com/apache/echarts/issues/19682#issuecomment-1981669949 ok, bad judgement this morning, sorry. All your arguments are valid and my idea/statement is false. Now lets look at some code. Lines B and C are stacked over A **independently** [Demo](https://echarts.apache.org/examples/en/editor.html?c=area-stack=PYBwLglsB2AEC8sDeAoWtJgDYFMBcya6GOAHmAQOQDKYAhgMYDWOAJrAIIBOOdsAwgAs6XMJSIBfADREwwYFkggCqYhi4QA5ppxcqdUhADOlGWoPGACsAjQwulUTVgAniHyxKDLsCMmzarBYdABGOFiOgcQhjEyaPgCu0Kz8CsB6ngDEAGx0AOwAnAAcAKziURJOsJXo0kS4Oskq1QGkHIZGBADaVaqBIcBJrCIuAOJ0yrAAZnRYRjgBasP03ZQAsjCmngAqCThblADqbAfbggkHAGIaB9R0YlKe1EmUALpVNbCvAS7txip1dDzDQ4TqwHpqPpqaB0AC2HkoHFMVXQrncVCwtn2i2IRnozCoIWRUREvFoLlwAJx6BwsJAwiM_0IUXQU2ADASYMowIgoPKgUBgWWdG6AEYAEwABkeooAzOKZZLRTLZQAWR4FaWwcWyrXi0WS95qQXoKHEGHwqhI6kYNwIzHQbEo2B42JUBjEwKkujkynIE3EWn0uiMsFmtRsjlcnl850B9DCsVSlUK2AG5VptUavW6x76w0fHHh2AWhEAIU9zjtGKxldx-KYhLr6G9vo8SHjsCDDKZxdZ7M5VBjJjjNsT4PFybTRVTooKGZ16u1msestzsFlBqNxADxdLVH4zdt6M8DqdUVdBM8Hptrdcfo7Nu7Id7zv7UaHul5I4qY_uIvBUUShzVMpQzIClznLU1y1VUt0LIh3gkABuIA). Of course A is duplicated, but the chart should look like you want it, no? ![image](https://github.com/apache/echarts/assets/13038071/bab9adbe-59ba-4b0a-b1d5-10ff8c553099) -- 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] Multiple stack names [echarts]
mKainzbauer commented on issue #19682: URL: https://github.com/apache/echarts/issues/19682#issuecomment-1981613986 Easy? Proper? Wrong! Manipulating the values is definitely NOT the solution. Just a simple use case your proposal wil fail: if you show a tooltip on the value, it's wrong. Furthermore: imagine you hide one series, now what will you do? Recalculate the values again (and even more wrong)? Your proposal is simply wrong in every way. When you stack series, you stack them, you don't manipulate them. -- 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] : candlestick and bar chart ticks and split lines with xAxis of type time are not aligned [echarts]
xmatthias commented on issue #18370: URL: https://github.com/apache/echarts/issues/18370#issuecomment-1981607678 @nileio did you get anyplace with this, or is it simply an open, most likely forgotten issue ? -- 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] 折线图itemStyle中color使用回调函数时,只改变节点颜色,线条颜色不发生变化 [echarts]
helgasoft commented on issue #19681: URL: https://github.com/apache/echarts/issues/19681#issuecomment-1981601755 If an issue does not get into [milestones](https://github.com/apache/echarts/milestones) or [Backlog](https://github.com/orgs/apache/projects/327) in a week or two, roll up your sleeves and DIY. ECharts PRs are not easy though, see >130 pending... -- 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] Multiple stack names [echarts]
helgasoft commented on issue #19682: URL: https://github.com/apache/echarts/issues/19682#issuecomment-1981601615 I think the easy (and proper) solution is to preprocess the data and calculate desired stacked values for certain lines, then just display all lines with _areaStyle_ without stacking anything. -- 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] Setting Custom font [echarts]
Beramos commented on issue #11899: URL: https://github.com/apache/echarts/issues/11899#issuecomment-1981192671 This issue is still relevant. @AB-D is right that there is no problem when using the "SVG"-rendered. For the canvas a hacky workaround (not my credit) can be found here: https://codepen.io/plainheart/pen/JjGWeav It appears that the problem is related to font loading, so the charts has to be redrawn after the fonts have been loaded. ```javascript document.fonts.ready.then(function () { console.log("fonts ready"); // refresh the chart when custom fonts are ready chart.setOption({}); }); ``` -- 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] On Switching between the Bar and Polar chart dynamically, weird chart is rendered until reloaded [echarts]
ptandler commented on issue #18687: URL: https://github.com/apache/echarts/issues/18687#issuecomment-1980960631 I also tried `universalTransition:{ enabled: true },` but still same issue: I can change between bar, pie, radar, polar in any order and this works very well, but only when I change from bar to polar or polar to bar, I get these strange artifacts. -- 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] renderToSVG does not work with Node.js 21.5.0 [echarts]
andreasloe commented on issue #19670: URL: https://github.com/apache/echarts/issues/19670#issuecomment-1980896023 Either it is a Linux issue (I am using a raspberry) or my installation is cracked. I will try to install nodejs on another RPi to test that. -- 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] renderToSVG does not work with Node.js 21.5.0 [echarts]
andreasloe commented on issue #19670: URL: https://github.com/apache/echarts/issues/19670#issuecomment-1980860208 Then it is a Mac issue? I am using a M1 with Mac OS 14.3.1 (23D60) with exactly the same code as above, ,still an error. Puh. I have no idea. -- 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: [PR] fix(axis): allow stacking on value xAxis [echarts]
github-actions[bot] commented on PR #19653: URL: https://github.com/apache/echarts/pull/19653#issuecomment-1980852382 The changes brought by this PR can be previewed at: https://echarts.apache.org/examples/editor?version=PR-19653@02a682d -- 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] renderToSVG does not work with Node.js 21.5.0 [echarts]
plainheart commented on issue #19670: URL: https://github.com/apache/echarts/issues/19670#issuecomment-1980835114 I'm afraid I can't reproduce your issue. I ran the following code with Node.js 21.5.0 (node-v21.5.0-win-x64) in Windows, it can output the SVG string as expected. ```js console.log('Node.js userAgent:', navigator.userAgent); const echarts = require('echarts'); console.log('ECharts env:', echarts.env, 'In Node:', echarts.env.node); const chart = echarts.init(null, null, { renderer: 'svg', ssr: true, width: 800, height: 600 }); const option = { xAxis: { type: 'category', data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'] }, yAxis: { type: 'value' }, series: [ { data: [150, 230, 224, 218, 135, 147, 260], type: 'line' } ] }; chart.setOption(option); const svgStr = chart.renderToSVGString(); console.log('svgStr:\n', svgStr); // write to svg file require('node:fs').writeFileSync('./output.svg', svgStr); chart.dispose(); ``` -- 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] Add new positions to series-bar.markLine.data.0.label. position [echarts]
isabellachen commented on issue #19685: URL: https://github.com/apache/echarts/issues/19685#issuecomment-1980729531 Use offset instead of distance to manually position the label. -- 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] Add new positions to series-bar.markLine.data.0.label. position [echarts]
isabellachen closed issue #19685: [Feature] Add new positions to series-bar.markLine.data.0.label. position URL: https://github.com/apache/echarts/issues/19685 -- 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] series-bar.markLine.data.0.label.distance vertical position not working for horizontal markLines and vice versa [echarts]
isabellachen commented on issue #19686: URL: https://github.com/apache/echarts/issues/19686#issuecomment-1980728580 Ahhh can use offset instead of distance. But offset is not documented... -- 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] series-bar.markLine.data.0.label.distance vertical position not working for horizontal markLines and vice versa [echarts]
isabellachen closed issue #19686: [Bug] series-bar.markLine.data.0.label.distance vertical position not working for horizontal markLines and vice versa URL: https://github.com/apache/echarts/issues/19686 -- 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] series-bar.markLine.data.0.label.distance vertical position not working for horizontal markLines and vice versa [echarts]
isabellachen opened a new issue, #19686: URL: https://github.com/apache/echarts/issues/19686 ### Version 5.4 ### Link to Minimal Reproduction https://codepen.io/isachenx/pen/PogPpjg ### Steps to Reproduce 1. I use the Basic Line Chart example and added a markLine. 2. Changing `series.markLine.data[0].label.distance[1]`, the vertical distance, does not move the label. `distance[0]` the horizontal distance works fine and moves the label. 3. I noticed it's vice versa for vertical markLines as per this codePen: https://codepen.io/isachenx/pen/NWmGpwP For vertical markLine, changing distance[0], the horizontal label, does not move the label. `distance[1]` the vertical distance works fine and moves the label. For horizontal markLine code: ```js option = { xAxis: { type: 'category', data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'] }, yAxis: { type: 'value' }, series: [ { data: [150, 230, 224, 218, 135, 147, 260], type: 'line', markLine: { data: [ { type: 'test', name: 'test', yAxis: 197, label: { distance: [50, 50], } }, { type: 'average', name: 'Avg', } ] } } ] }; ``` For vertical markLine code: ```js option = { textStyle: { fontSize: 14 }, xAxis: { data: ['A', 'B', 'C', 'D', 'E'], boundaryGap: true, splitArea: { show: true } }, yAxis: { max: 2 }, series: [ { name: 'line', type: 'line', stack: 'all', symbolSize: 6, data: [0.3, 1.4, 1.2, 1, 0.6], markLine: { data: [ { name: 'I should have x-offset', xAxis: 1, label: { formatter: 'B', position: 'end', align: 'start', distance: [20, 0] } } ], } } ], grid: { top: 30, left: 60, right: 60, bottom: 40 } }; ``` ### Current Behavior Unable to change the vertical distance for markLine label for horizonal markLine and unable to change the horizontal position for markLine label for vertical markLine. ### Expected Behavior Able to position the markLine label at an offset to the default position. ### Environment ```markdown - OS:NA - Browser:Chrome - Framework:None ``` ### 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
Re: [I] [Bug] Too many points on a mixed chart of scatter and line would cause canvas not to be cleared correctly [echarts]
AndreyPatseiko commented on issue #19576: URL: https://github.com/apache/echarts/issues/19576#issuecomment-1980706999 Hmmm. It's possible that problem comes from the ``` tooltip: { trigger: 'axis' }, ``` If you change trigger type to the 'item', behavior will be normal. But it's not solve issue... 樂 -- 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] 折线图itemStyle中color使用回调函数时,只改变节点颜色,线条颜色不发生变化 [echarts]
ggcfcmd commented on issue #19681: URL: https://github.com/apache/echarts/issues/19681#issuecomment-1980576596 > confirmed, wow this one has been around for a lo-o-ng time o, thanks for answer! is there any plan to fix this issus? -- 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] [Feature] Add new positions to series-bar.markLine.data.0.label. position [echarts]
isabellachen opened a new issue, #19685: URL: https://github.com/apache/echarts/issues/19685 ### What problem does this feature solve? When markLines exist very close together on yAxis, it is hard to read. https://github.com/apache/echarts/assets/9280665/24211f2e-dc1b-4393-a73a-44322bd3c150;> ### What does the proposed API look like? Along with label positions: 'start', 'middle', 'end', 'insideStartTop', 'insideStartBottom', 'insideMiddleTop', 'insideMiddleBottom', 'insideEndTop', 'insideEndBottom', to add **'endTop'** and **'endBottom'**. -- 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
(echarts) branch feat/break-axis updated (065e4c15f -> 736a46994)
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a change to branch feat/break-axis in repository https://gitbox.apache.org/repos/asf/echarts.git from 065e4c15f feat(WIP): zigzag shape on top of bars add 736a46994 feat(WIP): linear mapping inside break area No new revisions were added by this update. Summary of changes: src/component/axis/CartesianAxisView.ts| 4 +- .../{axisBreakAreaHelper.ts => axisBreakHelper.ts} | 7 +-- src/coord/axisCommonTypes.ts | 2 +- src/coord/axisDefault.ts | 3 +- src/coord/axisTickLabelBuilder.ts | 30 +++-- src/scale/Interval.ts | 2 +- src/scale/helper.ts| 51 +- test/axis-break.html | 28 8 files changed, 86 insertions(+), 41 deletions(-) rename src/component/axis/{axisBreakAreaHelper.ts => axisBreakHelper.ts} (97%) - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[I] [Feature] Add sortIndex for color callback of itemStyle when using realtimeSort [echarts]
Fno opened a new issue, #19684: URL: https://github.com/apache/echarts/issues/19684 ### What problem does this feature solve? I need constant color for series.itemStyle when using realtimeSort. Currently the color callback provide dataIndex for color picking. But it no params provide sorting info of data. I have to sort data manually before appling them to the bar chart. It makes realtimeSort useless for me. ### What does the proposed API look like? Add `sortIndex` to the params of series.itemStyle.color callback. It shows us sorting index for the currently data. -- 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