css - AmCharts 序列号 : How to break lines by long labels?

标签 css amcharts

我有一个带有 AmCharts 的水平 SerialChart:

在桌面浏览器上显示时,一切看起来都很好:

enter image description here

But when i'm resizing, the bars are getting smaller, but the text stays the same:

enter image description here

Is there a way of resizing the categoryAxis as well so i see the bars in a mobile screen? Or move the Labels on top of the bars when i'm viewing them on mobile?

最佳答案

试试这个,它会对你有帮助。

"categoryAxis": {
              "ignoreAxisWidth": true,
               "autoWrap": true
            }

关于css - AmCharts 序列号 : How to break lines by long labels?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25283339/

相关文章:

javascript - 如何反转连续 Amcharts 中的 x 轴?

javascript - 是否可以使用 Amchart v4 在类别名称上显示工具提示?

javascript - 在 mozilla firefox 上隐藏滚动条

javascript - 保持按钮处于事件状态,直到再次点击

css - 我们在构建网站时是否必须考虑浏览器缩放?

javascript - amCharts 设置条形标签图表中缺少最大 Y 轴和 X 轴值

javascript - AmCharts 不加载图像/SVG

CSS 菜单 : width of dropdown items limited by div

javascript - 为什么过渡不适用于边界属性?

amcharts - 如何使用 amcharts 4 和 Angular 7 将 y 轴格式化为货币