You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "CarinaZhu (via GitHub)" <gi...@apache.org> on 2023/07/24 03:41:10 UTC
[GitHub] [echarts] CarinaZhu opened a new issue, #18923: Grouped Categories
CarinaZhu opened a new issue, #18923:
URL: https://github.com/apache/echarts/issues/18923
### What problem does this feature solve?
I'm changing plots on my websites from Highcharts to Echarts.
I want a feature for grouped categories similar like this: http://blacklabel.github.io/grouped_categories/.
If anyone can help? Thanks in advance.
### What does the proposed API look like?
Provide grouped categories
--
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] Grouped Categories [echarts]
Posted by "helgasoft (via GitHub)" <gi...@apache.org>.
helgasoft commented on issue #18923:
URL: https://github.com/apache/echarts/issues/18923#issuecomment-1889796107
@ggregoire, nice try with the demo, but it is still not responsive (on size changes).
I do not think this is fixable for even number of columns. 😓
Take a look at #19250 - a more complex, but maybe better solution.
--
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] Grouped Categories [echarts]
Posted by "ysk3a (via GitHub)" <gi...@apache.org>.
ysk3a commented on issue #18923:
URL: https://github.com/apache/echarts/issues/18923#issuecomment-1882724562
- I think, i'll need some time with the echarts api. thanks for sharing! I'll check out the interval attribute.
- at this point i'm being nitpicky but on very narrow chart container the labels disappear still. 😛 (i don't think anyone will view a chart that narrow anyways)
would be a nice-to-have feature if echarts could natively handle this to change orientation of labels in addition ellipsis(in the scenario where labels are very long) depending on size of container like

--
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] Grouped Categories [echarts]
Posted by "helgasoft (via GitHub)" <gi...@apache.org>.
helgasoft commented on issue #18923:
URL: https://github.com/apache/echarts/issues/18923#issuecomment-1870563807
> The smaller the chart container is the labels just disappear.
_interval_ for _axisLabel_ was not set, Try now with new [Demo Code](https://echarts.apache.org/examples/en/editor.html?c=line-simple&code=PYBwLglsB2AEC8sDeBYAULWkwBsCmAXMuppmHgB5hEDkAogMIAWAhgE5gDOsLFE3AczbAAriAjQBNErAC-AGhlhgwHJBBEkCmfgF5oAE00zMBlmBYEA2jQDKLfJxoBdGdoywKAQT6ciVmQBIVA9MQJBgTghIGCIAIgAjYDBlAFs4xVDYQLMLfzjOJggODLiAY3YDCAFoUrKigDMGmFhC4rBSkBZoLlKmPDwcTlLOYDKAa2HXD0D3UmIs8MjoqGh4pJTgdMz5nPNLWCs42AyToVEQAEZTuJuT-TPhMQAmG7jnHfmeXwAZCUIFl9soVgAB3IgNBycPAmUhzL68fgAFQgE2MWTCDmq0AA6tEmD8WAlBhCoXhPkD8JIwEwiAAWAAMFIROGx8XwDQ6zPmEnIbAAbg4ISJoGUYtAABQSAyUB6CnAiPAASkBQNIbDwYBEbDg8sV8HgNFgRoA_Fg2IrYKShngANyw-ayB1ybnffiE4k4dFAwKpdgCCREADMTNgzR6OLw1SY1GNSRwBhorswvLwAqFYZFYtWUsMstgeuVqrVsA1Wp1BYcioAdFSBDSAHyXWBmsAWvBWsNk-0YuHOp1ZAeYD4yACePn4mnh0LYEDwfkOIXm0BYqQBdgc86TsLAo5A64S7G3WVyBysAFYHs9Q0GAGwPS6hx9XhnTTCyaayW1AA)
--
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
[GitHub] [echarts] helgasoft commented on issue #18923: Grouped Categories
Posted by "helgasoft (via GitHub)" <gi...@apache.org>.
helgasoft commented on issue #18923:
URL: https://github.com/apache/echarts/issues/18923#issuecomment-1666578722
use second (grouping) X-axis
[Demo Code](https://echarts.apache.org/examples/en/editor.html?c=line-simple&code=PYBwLglsB2AEC8sDeBYAULWkwBsCmAXMuppmHgB5hEDkAogMIAWAhgE5gDOsLFE3AczbAAriAjQBNErAC-AGhlhgwHJBBEkCmfgF5oAE00zMBlmBYEA2jQDKLfJxoBdGdoywKAQT6ciVmQBIVA9MQJBgTghIGCIAIgAjYDBlAFs4xVDYQLMLfzjOJggODLiAY3YDCAFoUrKigDMGmFhC4rBSkBZoLlKmPDwcTlLOYDKAa2HXD0D3UmIs8MjoqGh4pJTgdMz5nPNLWCs42AyToVEQAEZTuJuT-TPhMQAmG7jnHfmeXwAZCUIFl9soVgAB3IgNBycPAmUhzL68fgAFQgE2MWTCDmq0AA6tEmD8WAlBhCoXhPkD8JIwEwiAAWAAMFIROGx8XwDQ6zPmEnIbAAbg4ISJoGUYtAABQSAyUB6CnAiPAASkBQNIbDwYBEbDg8sV8HgNFgRoA_Fg2IrYKShngANyw-ayB1ybnffiE4k4dFAwKpdgCCREADMTNgzR6OLw1SY1GNSRwBmkGJdzoAWpwQKywH9oACQmrWkwwUQwBbyc7MLy8AKhWGRWLVlLDLLYHrlaqCxqtTrWw5LWbS5brdD7cnME7kxPHTIPjIAJ4-fiaeHQtgQPB-Q750jQFipAF2BwbmjMsBzkAHhLsE-w3IHKwAVgez1DQYAbA9LqGv8-GdNx9Msi2kAA)

--
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] Grouped Categories [echarts]
Posted by "yzhang921 (via GitHub)" <gi...@apache.org>.
yzhang921 commented on issue #18923:
URL: https://github.com/apache/echarts/issues/18923#issuecomment-2644658625
希望官方能够通过,一个轴元素实现,axis.data = [[]],可以是多维数组,否则增加轴在grid多图的场景下使用起来就复杂了
--
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] Grouped Categories [echarts]
Posted by "ysk3a (via GitHub)" <gi...@apache.org>.
ysk3a commented on issue #18923:
URL: https://github.com/apache/echarts/issues/18923#issuecomment-1869942034
Hi,
it seems that demo code is not responsive and 'breaks' once the dimension of parent changes like when resizing the browser. The smaller the chart container is the labels just disappear.
i'm also looking for a performant chart library that has grouped categories like blacklabel's plugin but highchart+grouped_categories is very buggy when using with angular.
--
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] Grouped Categories [echarts]
Posted by "ggregoire (via GitHub)" <gi...@apache.org>.
ggregoire commented on issue #18923:
URL: https://github.com/apache/echarts/issues/18923#issuecomment-1889736702
@helgasoft Hi, I'm using your solution and it works great with an odd number of columns (e.g. 3 columns), the label is perfectly centered with the column in the middle.
Do you have a solution for an even number of columns (e.g. 4 columns)? I tried by adding some hardcoded paddings to center it between the second and third columns, but it won't be centered if your monitor resolution is different than mine.
Here I updated your [demo](https://echarts.apache.org/examples/en/editor.html?c=line-simple&code=PYBwLglsB2AEC8sDeAoWtJgDYFMBcya6GOAHmAQOQCiAwgBYCGATmAM6yOkQcDmzwAK4gI0XpSIBfADREwwYFkggCSGUVy8c0ACaqi6HYzCM8AbUoBlRrjaUAulNnpSAQW5sCZogEhUxWB8QYDYISBgCACIAI2AweQBbSOdiHyMTL0i2eghWZMiAYxYdCF5ofIKcgDMqmFhs3LB8kEZodnz6HBwsNny2YAKAa17pSLAcNibHdB91AP9U4NDw6CjY-OAklJn001gzSNhko_4hEABGY8iro-kTgWEAJgBaK7f7beIuHgAZUXxCAEZtlgAB3AhVGxsHAGYhzIHfNgAFQgQ30QMCNlK0AA6mF6D9GNFuhCoThPgFcGIwPQCAAWAAMFK-WGxUVwVSazPQonGzAAbjYIYJoAUVgAKUQ6Mh3QVYQQ4ACUgIxxGYODAgmYcDlCvg8EosENAH4MMwFbBST0cABuWEBST22DwgKIwnErDooE-BIsXiiAgAZiZsFqbRxOFK9AoRtiWB0lG5sF5OAFQtDIrFUGgkt0MtguqVKtVsHVmu1BZsCoAdFTeDSAHznWCmsDmnCW0Nku0ll1A2rMX3xVPC0UrWDiwvKhYlstanVVnDV7Q6Nh4mniyKvRVOjGmyJIRg6HQABSPJTEAB9DgBqSvypfqkBYRgFHCb153a7Ku-RSSRXcgQIQtAL7AJmFRWli1Vc8z2PUReC9Et0DDMAIyjGNKDjBMkwCFp4LELwQ2Iu5zgZBkPkA9BHV7J0aLhIhKPQABPdweFUeFoQgiYvBnWBoEYBIASsGwJkTWEwGYkBhOiFhxICXYvAAVjuR4Q0DAA2UiQzI1SdIoqRHEkG0gA) if you want to take a look at the pr
oblem.
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