android - MPAndroidChart - How to align seekbar with x-axis skipping extra padding? -
i'm working mpandroidchart , i'm enjoying since it's done.
but i've got problem haven't been able resolve in few hours. i've got seekbar under 3 charts (as can see screenshots below) , i'd align x-axis, skipping space occupied y-axis' labels on left , padding gets added on right.
have got suggestion on how achieve goal? there way of knowing labels' width , charts' extra-padding? or, better, can x-axis width?
thanks in advance! bye!
update latest version of library if have not already. then, remove offsets chart. it's in documentation.
call:
chart.setviewportoffsets(0f, 0f, 0f, 0f);
this remove padding / margin / offset chart, making actual content of chart (the data) being next thing screen edge.
Comments
Post a Comment