hellocharts-android
hellocharts-android copied to clipboard
Viewport.top is not working well !
viewport.top is not working well ! my max value is 1500 ... but viewport.top is repeating 000-900 after 900!
Viewport viewport = new Viewport(chartTop.getMaximumViewport());
viewport.left = 0;
viewport.right = 20;
viewport.top = 1500;
viewport.bottom = 0;
chartTop.setMaximumViewport(viewport);
chartTop.setCurrentViewport(viewport);
chartTop.setZoomType(ZoomType.HORIZONTAL);
chartTop.setZoomType(ZoomType.VERTICAL);
Is there somebody that know how to fix it ! Thankx
这位兄弟,你也太搞笑了。这个分明不是重复0-900好吗?很明显是你y坐标label长度不够用啊,没显示全。000,100,200....这些前面的1被挡住了!Aixs.setMaxLabelChars();字符长度加大几位试试。