You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "helgasoft (via GitHub)" <gi...@apache.org> on 2023/10/01 19:36:24 UTC

[GitHub] [echarts] helgasoft commented on issue #19131: [Bug] magicType点击不同格式的展示不能有效立即生效

helgasoft commented on issue #19131:
URL: https://github.com/apache/echarts/issues/19131#issuecomment-1742178702

   I think this is a documentation issue - [stack](https://echarts.apache.org/en/option.html#toolbox.feature.magicType.option.stack) is not explained, just mentioned. 
   In fact it is not meant to be a **switch**, but a **toggle** button between bars and stacked bars. A typical usage for _stack_ is [this official example](https://echarts.apache.org/examples/en/editor.html?c=bar-brush) where it toggles between grouped and stacked bars.
   So the solution is - either explain this in the docs, or rewrite the code to make it a switch button. The latter is kind of tricky though, because only grouped bar data is "switchable". Simple bars cannot be stacked, so what would this button do if someone is using it in such context?
   


-- 
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