如何保留X轴刻度labels,隐藏X轴线?
wangrui-spiderNet opened this issue · comments
ray dev commented
试了以下方法都不起作用:
.xAxisGridLineWidth(0f);//不起作用,X轴刻度线还在
.xAxisLabelsEnabled(true);
.xAxisVisible(false)//会把labels和刻度线一起隐藏
An An commented
.xAxisGridLineWidth(0f);//不起作用,X轴刻度线还在
这个是设置 X轴的网格线的, 不是设置 X 轴本身的轴线的
An An commented
设置 X 轴本身的轴线的, 请使用下面的属性:
public Float lineWidth; //坐标轴轴线宽度
public String lineColor; //坐标轴轴线线颜色