How to set chart position?
How can I add for example 100 items in chart but display only last 10. I new about visible range. In my case visible range might be between 10 and 100 I need scroll chart and zoom it.
If I load 100 items then all of them displayed on chart. Can you help me?
You want to move to the end of the chart and make it scrollable?
Try this:
chart.setVisibleXRange(10, 10);
chart.moveViewToX(chart.getXChartMax())
this is not right for me setVisibleXRange() method call setMinMaxScaleX() and after this I cant zoom/pinch chart
I need make it scrollable and zoomable
Hi,I have the same problem,were you able to solve this issue?
@hysheng this is absolutely possible, please look at the existing documentation and examples. I'm working on some new documentation as well, hopefully that will be available soon. But for now, you should be able to figure it out by checking the examples.