{"action":"opened","issue":{"url":"https://api.github.com/repos/PhilJay/MPAndroidChart/issues/692","labels_url":"https://api.github.com/repos/PhilJay/MPAndroidChart/issues/692/labels{/name}","comments_url":"https://api.github.com/repos/PhilJay/MPAndroidChart/issues/692/comments","events_url":"https://api.github.com/repos/PhilJay/MPAndroidChart/issues/692/events","html_url":"https://github.com/PhilJay/MPAndroidChart/issues/692","id":80937665,"number":692,"title":"Auto zooming or auto set range","user":{"login":"elnatand","id":7359699,"avatar_url":"https://avatars.githubusercontent.com/u/7359699?v=3","gravatar_id":"","url":"https://api.github.com/users/elnatand","html_url":"https://github.com/elnatand","followers_url":"https://api.github.com/users/elnatand/followers","following_url":"https://api.github.com/users/elnatand/following{/other_user}","gists_url":"https://api.github.com/users/elnatand/gists{/gist_id}","starred_url":"https://api.github.com/users/elnatand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elnatand/subscriptions","organizations_url":"https://api.github.com/users/elnatand/orgs","repos_url":"https://api.github.com/users/elnatand/repos","events_url":"https://api.github.com/users/elnatand/events{/privacy}","received_events_url":"https://api.github.com/users/elnatand/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-26T12:20:51Z","updated_at":"2015-05-26T12:20:51Z","closed_at":null,"body":"I did it with mChart.setVisibleXRange().\r\n\r\nThe Y values are very small, hence I did manual zoom by setting range to the chart with the functions:\r\n\r\nmChart.getAxisLeft().setAxisMaxValue(maxValue);\r\nmChart.getAxisLeft().setAxisMinValue(minValue);\r\n\r\nI’m interested on zooming only on the visible part of the chart so I took max\\min value only on the visible part of the chart.\r\n\r\nIt caused some problem: when I scrolled left to the rest part of the chart, some points where not shown because their Y value was over the min/max value that I set.\r\n\r\nThis is the time to mention that I want zoom or fixed range only on the visible part of the chart.\r\n\r\nIs there auto zooming or auto range function according to the Y values of the given points of the visible part?\r\n"}}