Mpandroidchart scroll when zoom -
i using mpandroidchart's linechart , i'm trying find way know , in situation when chart zoomed, when scroll reaches end in each direction. noticed when scroll ended on bottom side or left side , respectively methods chart.getviewporthandler().gettransx()
, getviewporthandler().gettransy()
return 0, in case know need know.
what not finding way know when scroll ends on right side , top side, in cases value returned methods numbers cannot interpretate (eg: not equals viewport size, not equal chart's size multiplied scale factor).
is there way this?
thank help
edit: i'll try explain better: zoom chart , start navigating scrolling. let's want see right part of zoomed chart, have scroll left untill reach end of chart. when right part of chart shown , if continue scrolling left, chart not scroll anymore in direction. how can know when happens?
Comments
Post a Comment