I am using the Charts to plot graph.Getting correct value at initially ,but when start to zoom graph, some values on the X-axis becomes identical.
have written the code like this.
self.lineChartView.setVisibleXRange(minXRange: 2, maxXRange: Double(dataPoints.count))
self.lineChartView.xAxis.granularityEnabled = true
self.lineChartView.xAxis.granularity = 1
also the image of before zoom and after is attached.