我试图隐藏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.
更多推荐
发布评论