android - Create custom X axis line in MPAndroidChart -
i create custom x axis line.(marked red)
to make this:
is there override can used this? thanks
update meant if design of x axis design can overriden not values. sorry not clear enough. gray line margin between bar , xaxis on second image. how can achieved?
yes, can define own axis values:
axis axisx = new axis(); axis axisy = new axis().sethaslines(true); list<axisvalue> axisvalues = new arraylist<>(); //put values in array axisvalues.add(new axisvalue(27)); axisvalues.add(new axisvalue(28)); axisvalues.add(new axisvalue(29)); //... axisx.setvalues(axisvalues);
Comments
Post a Comment