You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2020/04/21 09:21:15 UTC
[GitHub] [incubator-echarts] yanshuai opened a new issue #12469: 如何得到柱状图柱子的宽度和柱子间的间隙宽度
yanshuai opened a new issue #12469:
URL: https://github.com/apache/incubator-echarts/issues/12469
### What problem does this feature solve?
如何得到柱状图柱子的宽度和柱子间的间隙宽度的像素值?
### What does the proposed API look like?
看下有没现成的方案能获取得到
<!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
----------------------------------------------------------------
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.
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] [incubator-echarts] Ovilia commented on issue #12469: 如何得到柱状图柱子的宽度和柱子间的间隙宽度
Posted by GitBox <gi...@apache.org>.
Ovilia commented on issue #12469:
URL: https://github.com/apache/incubator-echarts/issues/12469#issuecomment-617527533
没有接口,但是可以自己计算得到。先计算出绘图区域的宽度,就是 `grid.width` 或者如果没有设的话,看文档默认值是 canvas 宽度减去 `grid.left` 和 `grid.right`。然后除以有多少组数据,这个宽度的 https://echarts.apache.org/zh/option.html#series-bar.barWidth (默认 60%),也就是说间隙是 40%。
----------------------------------------------------------------
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.
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] [incubator-echarts] echarts-bot[bot] commented on issue #12469: 如何得到柱状图柱子的宽度和柱子间的间隙宽度
Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #12469:
URL: https://github.com/apache/incubator-echarts/issues/12469#issuecomment-617061369
Hi! We've received your issue and please be patient to get responded. 🎉
The average response time is expected to be within one day for weekdays.
In the meanwhile, please make sure that **you have posted enough image to demo your request**. You may also check out the [API](http://echarts.apache.org/api.html) and [chart option](http://echarts.apache.org/option.html) to get the answer.
If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to dev@echarts.apache.org. Please attach the issue link if it's a technical questions.
If you are interested in the project, you may also subscribe our [mail list](https://echarts.apache.org/en/maillist.html).
Have a nice day! 🍵
----------------------------------------------------------------
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.
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