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.
我想用字符串替换 x 轴上的整数值。我想在 y 轴上的整数和 x 轴上的字符串之间绘制条形图。请帮我。任何帮助将不胜感激。
为了更改默认标签,您需要禁用它们并添加自定义标签:
renderer.setXLabels(0); // call something like this for each label renderer.addXTextLabel(x, "text");