[英]how to plot bar chart with integer on y axis and string on x axis in achrtengine
I want to replace integer values on x axis with strings. 我想用字符串替换x轴上的整数值。 I want to plot a bar chart between integer on y axis and strings on x axis.
我想在y轴上的整数和x轴上的字符串之间绘制条形图。 Please help me.
请帮我。 Any help will be highly appreciated.
任何帮助将不胜感激。
In order to change the default labels, you need to disable them and add custom labels: 为了更改默认标签,您需要禁用它们并添加自定义标签:
renderer.setXLabels(0);
// call something like this for each label
renderer.addXTextLabel(x, "text");
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.