android - Create custom X axis line in MPAndroidChart -


i create custom x axis line.(marked red)

enter image description here

to make this:

enter image description here

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

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -