You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "zhoudaxia2016 (via GitHub)" <gi...@apache.org> on 2023/11/01 02:35:03 UTC
[I] [Bug] Use dataset for multiple series pie chart, render wrong [echarts]
zhoudaxia2016 opened a new issue, #19262:
URL: https://github.com/apache/echarts/issues/19262
### Version
5.4.3
### Link to Minimal Reproduction
https://echarts.apache.org/examples/en/editor.html?c=bar-polar-label-tangential&code=PYBwLglsB2AEC8sDeAoWsAmBDMWDOApmAFzJrqx7ACuATgMYGkDa5FszA5LJwDQ9Y-PAEacAurzYUuANywAbagQCMQ5fwDMEqelkKlAJiEH-BsVPPoAvpPSFaEAnhZTU7dNCwBbJgL47YMABPEF9OEEd_d1haLAwIamcOTgBWAFIhTg108VsKG1cAzx9STnoo92DQ0oiCCvZY-MSWTgA2AAYM_k5lds7cqStycysAbiA
### Steps to Reproduce
Open the Minimal Reproduction link.
### Current Behavior
https://echarts.apache.org/examples/en/editor.html?c=bar-polar-label-tangential&code=PYBwLglsB2AEC8sDeAoWsAmBDMWDOApmAFzJrqx7ACuATgMYGkDa5FszA5LJwDQ9Y-PAEacAurzYUuANywAbagQCMQ5fwDMEqelkKlAJiEH-BsVPPoAvpPSFaEAnhZTU7dNCwBbJgL47YMABPEF9OEEd_d1haLAwIamcOTgBWAFIhTg108VsKG1cAzx9STnoo92DQ0oiCCvZY-MSWTgA2AAYM_k5lds7cqStycysAbiA
### Expected Behavior
https://echarts.apache.org/examples/en/editor.html?c=bar-polar-label-tangential&code=PYBwLglsB2AEC8sDeAoWsDOBTAThLGAXLANprrLkWzQCGAtlsQOS3MA0VFYAniE7GYh8HLugAmtMLWIkkAN1oAbAK4CAjOxoMBzRaqzrmAXy0Lla4gCYtdRi31qrJgLqdq6HLXEQVRUswArACkHIIAzCHMblymXKge2vaCAEaiibz8LMJY6R6S0rLmBsThtjoOFoYmZo4CNkm6dc7GMYlePn6yzABsAAyhWszqfQPR7hTG5C4oxgDcQA
### Environment
```markdown
- OS:
- Browser:
- Framework:
```
### Any additional comments?
Do I generate a wrong `dataset.source`?
I know I can use `series.data` to achieve this,but I want all my charts use the same dataset option to generate data.
I also find out that I can use dataset with `series.encode`, but I want to figure it out whether it's a bug or not.
--
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-unsubscribe@echarts.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org
Re: [I] [Bug] Use dataset for multiple series pie chart, render wrong [echarts]
Posted by "helgasoft (via GitHub)" <gi...@apache.org>.
helgasoft commented on issue #19262:
URL: https://github.com/apache/echarts/issues/19262#issuecomment-1791198314
Agree, pie chart is different. Maybe the others (line,bar..) have been "optimized" and pie hasn't.
But still, a missing feature is not a bug.
--
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-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org
Re: [I] [Bug] Use dataset for multiple series pie chart, render wrong [echarts]
Posted by "zhoudaxia2016 (via GitHub)" <gi...@apache.org>.
zhoudaxia2016 commented on issue #19262:
URL: https://github.com/apache/echarts/issues/19262#issuecomment-1790284241
> > I want to avoid changing the dataset and wonder why one dataset can not achieve this.
>
> it can, but you need to use _encode_ - [demo](https://echarts.apache.org/examples/en/editor.html?c=bar-polar-label-tangential&code=PYBwLglsB2AEC8sDeAoWsAmBDMWDOApmAFzJrqx7ACuATgMYGkDa5FszA5NJwDSycsfAQCNOAXV5sKXAG5YANtQIBGYSv4BmSdPRzFygEzDD_Q-OkX0AXynpCtCATwtpqdumhYAtkwFC7DzAATxA_ThAnYQJoemAMPyQIMAJvADkfcJ5-eSUmQU5bXVhaLAwIahcOTgBWAFJhTk16iUCbNrIPWC9fUk56PmKQsL7IgmjY-MTk1IzegWzYXOViTjEirtLyypZOADYABgb-TgBOI9bpa3IdawBuIA)
>
> > I also find out that I can use dataset with series.encode, but I want to figure it out whether it's a bug or not.
>
> not-a-bug, series [default layout](https://echarts.apache.org/en/option.html#series-pie.seriesLayoutBy) is by 'column', so you need to use _encode_ to assign different columns to multiple series.
All the other charts's series default layout is by 'column' too. Why pie chart is different?
> > I want to avoid changing the dataset and wonder why one dataset can not achieve this.
>
> it can, but you need to use _encode_ - [demo](https://echarts.apache.org/examples/en/editor.html?c=bar-polar-label-tangential&code=PYBwLglsB2AEC8sDeAoWsAmBDMWDOApmAFzJrqx7ACuATgMYGkDa5FszA5NJwDSycsfAQCNOAXV5sKXAG5YANtQIBGYSv4BmSdPRzFygEzDD_Q-OkX0AXynpCtCATwtpqdumhYAtkwFC7DzAATxA_ThAnYQJoemAMPyQIMAJvADkfcJ5-eSUmQU5bXVhaLAwIahcOTgBWAFJhTk16iUCbNrIPWC9fUk56PmKQsL7IgmjY-MTk1IzegWzYXOViTjEirtLyypZOADYABgb-TgBOI9bpa3IdawBuIA)
>
> > I also find out that I can use dataset with series.encode, but I want to figure it out whether it's a bug or not.
>
> not-a-bug, series [default layout](https://echarts.apache.org/en/option.html#series-pie.seriesLayoutBy) is by 'column', so you need to use _encode_ to assign different columns to multiple series.
Other charts's series default layout is by 'column' too. Why just pie chart needs to use encode.
--
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-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org
Re: [I] [Bug] Use dataset for multiple series pie chart, render wrong [echarts]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #19262:
URL: https://github.com/apache/echarts/issues/19262#issuecomment-3476843717
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-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org
Re: [I] [Bug] Use dataset for multiple series pie chart, render wrong [echarts]
Posted by "helgasoft (via GitHub)" <gi...@apache.org>.
helgasoft commented on issue #19262:
URL: https://github.com/apache/echarts/issues/19262#issuecomment-1789500465
> I want to avoid changing the dataset and wonder why one dataset can not achieve this.
it can, but you need to use _encode_ - [demo](https://echarts.apache.org/examples/en/editor.html?c=bar-polar-label-tangential&code=PYBwLglsB2AEC8sDeAoWsAmBDMWDOApmAFzJrqx7ACuATgMYGkDa5FszA5NJwDSycsfAQCNOAXV5sKXAG5YANtQIBGYSv4BmSdPRzFygEzDD_Q-OkX0AXynpCtCATwtpqdumhYAtkwFC7DzAATxA_ThAnYQJoemAMPyQIMAJvADkfcJ5-eSUmQU5bXVhaLAwIahcOTgBWAFJhTk16iUCbNrIPWC9fUk56PmKQsL7IgmjY-MTk1IzegWzYXOViTjEirtLyypZOADYABgb-TgBOI9bpa3IdawBuIA)
> I also find out that I can use dataset with series.encode, but I want to figure it out whether it's a bug or not.
not-a-bug, series [default layout](https://echarts.apache.org/en/option.html#series-pie.seriesLayoutBy) is by 'column', so you need to use _encode_ to assign different columns to multiple series.
--
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-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org
Re: [I] [Bug] Use dataset for multiple series pie chart, render wrong [echarts]
Posted by "zhoudaxia2016 (via GitHub)" <gi...@apache.org>.
zhoudaxia2016 commented on issue #19262:
URL: https://github.com/apache/echarts/issues/19262#issuecomment-1788506383
> > I want all my charts use the same dataset option to generate data.
>
> possible with a multi-dataset - [demo](https://echarts.apache.org/examples/en/editor.html?code=PYBwLglsB2AEC8sDeAoWsAmBDMWDOApmAFywDaa6ysewArgE4DGBpZZsAjADSwDkANywAbOgU58Autw4AmXoJFjZUyQF9uldEhr1mrchwDMCoaPFSZsefzPLVGytMqEGEAnjZbk39NCwAtgZ8WHyaVFRgAJ4gwSDuYb6wDFgYEHSe5HwArACkYfxGeZbejhGoEX6BwUwF2LiEYACS0BgEAB7EPEnRsaR88QQFSSlpGWx8AGwADPkKAJyzJRFqTihqANxAA) NB: please close issue if problem solved.
I want to avoid changing the dataset and wonder why one dataset can not achieve this.
--
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-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org
Re: [I] [Bug] Use dataset for multiple series pie chart, render wrong [echarts]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #19262:
URL: https://github.com/apache/echarts/issues/19262#issuecomment-3506905960
This issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest version of Apache ECharts, please open a new issue and link this to it. Thanks!
--
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-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org
Re: [I] [Bug] Use dataset for multiple series pie chart, render wrong [echarts]
Posted by "helgasoft (via GitHub)" <gi...@apache.org>.
helgasoft commented on issue #19262:
URL: https://github.com/apache/echarts/issues/19262#issuecomment-1788489717
> I want all my charts use the same dataset option to generate data.
possible with a multi-dataset - [demo](https://echarts.apache.org/examples/en/editor.html?c=bar-polar-label-tangential&code=PYBwLglsB2AEC8sDeAoWsAmBDMWDOApmAFywDaa6ysewArgE4DGBpZSAblgDZ2uwBGADSxoWALb8A5F14EBUgL5DOPPqQBMIsZNIy1BDUoC6yyuiQ16zfu1nrYAZm0Tp9-UpXvNL3bH1yRoqmQpTGoeiEDBAEeGzmyAnoOtJYUhFU6GAAniDSIDHpSbAMWBgQdHHkUgCsAKTp_o71UuEJZpmomcmuekyN2LiEYACS0BgEAB7EwsU5eXoFBI3FpeWVbFIAbAAMDSJSAJx7rRnoimEoigDcQA)
NB: 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-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org
Re: [I] [Bug] Use dataset for multiple series pie chart, render wrong [echarts]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #19262: [Bug] Use dataset for multiple series pie chart, render wrong
URL: https://github.com/apache/echarts/issues/19262
--
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-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org