隐藏Shield UI图表的X轴(Hiding the X axis of the Shield UI Chart)

编程入门 行业动态 更新时间:2024-10-27 05:33:17
隐藏Shield UI图表的X轴(Hiding the X axis of the Shield UI Chart)

我试图隐藏Shield UI Chart的X轴。 图表的类型是bar。 我尝试使用启用:

axisX: { enabled:false, },

但它不起作用。 我试图将线的厚度设置为0,但这也不起作用。 线保持最小厚度。 有任何想法吗?

I am trying to hide the X axis of the Shield UI Chart. The chart's type is bar. I tried to use enabled:

axisX: { enabled:false, },

but it doesn't work. I than tried to set the line's thickness to 0, but this is not working either. The line retains a minimum thickness. Any ideas?

最满意答案

作为当前版本的Shield UI Chart,当然,根据图表类型,通过设置指定的属性不能隐藏X轴。 但是,通过将轴颜色设置为与绘图颜色相匹配,可以实现不可见性的效果。 或者在大多数情况下为白色。

As ot the current version Shield UI Chart, depending on the chart type, of course, the X axis cannot be hidden by setting a specified property. However the effect of invisibility can be achieved by setting the axis color to match the plot's color. Or to white in the most cases.

更多推荐

本文发布于:2023-08-02 23:58:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1382444.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:图表   UI   Shield   Chart   axis

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!