You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I want to make a drag xAxis that show very time a 4 months and when I drag, it should show the another 4! I add 4 months but the drag is disabled and I don't know why?
Hello, I want to make a drag xAxis that show very time a 4 months and when I drag, it should show the another 4! I add 4 months but the drag is disabled and I don't know why?
yearChartView.dragEnabled = true
yearChartView.setScaleEnabled(false)
yearChartView.pinchZoomEnabled = false
yearChartView.maxHighlightDistance = 500
let xAxis = yearChartView.xAxis
xAxis.labelFont = UIFont(name: "MetroSans-Book", size:10)!
xAxis.setLabelCount(self.baha.count - 1, force: false)
xAxis.labelTextColor = #colorLiteral(red: 0.5254901961, green: 0.5568627451, blue: 0.5882352941, alpha: 1)
xAxis.labelPosition = .bottom
xAxis.axisLineColor = #colorLiteral(red: 0.9529411765, green: 0.9607843137, blue: 1, alpha: 1)
xAxis.gridLineWidth = 1
xAxis.gridColor = #colorLiteral(red: 0.9529411765, green: 0.9607843137, blue: 1, alpha: 1)
xAxis.axisRange = 3.0
I want to get something like that:
The text was updated successfully, but these errors were encountered: