daily pastebin goal
47%
SHARE
TWEET

Untitled

a guest Jul 26th, 2018 117 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.         chtChart.xAxis.granularityEnabled = true
  2.         chtChart.xAxis.granularity = 1
  3.        
  4.        
  5.         chtChart.xAxis.setLabelCount(5, force: true)
  6.         chtChart.xAxis.labelPosition = .bottom
  7.         chtChart.xAxis.labelCount = tableData.count-1
  8. //        chtChart.xAxis.labelRotationAngle = 330
  9.         chtChart.animate(xAxisDuration: 0.5, yAxisDuration: 0.5, easingOption: .easeInBack)
  10.        
  11.        
  12.        
  13.         if tableData.count > 6 {
  14.             chtChart.setVisibleXRange(minXRange: 4.0, maxXRange: 5.0)
  15.             chtChart.moveViewToX(5)
  16.         }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top