Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我希望zoomband的axisx中的数字标签被隐藏或变小,它占用了一定的空间,这使得图表拥挤,我在闪电图API文档中找不到相关的API,对我有什么有用的建议吗?谢谢你 图表图片
好吧,我想出了解决方案,要隐藏axisX,我们应该使用setTickStrategy(AxisTickStrategies.Empty),这里是代码:
zoomBandChart.getDefaultAxisX().setTickStrategy(AxisTickStrategies.Empty)