Skip to content
This repository has been archived by the owner on Apr 10, 2023. It is now read-only.

Latest commit

 

History

History
24 lines (15 loc) · 843 Bytes

README.md

File metadata and controls

24 lines (15 loc) · 843 Bytes

SCRSidewaysBarGraph

A fully-customisable 'sideways bar graph' for iOS.

SCRSidewaysBarGraph

Installation

Cocoapods, obviously.

Append the following line to your Podfile.

pod 'SCRSidewaysBarGraph'

Caveats

  • Titles are not dynamic - the y-axis labels have a fixed-width of 100pt, anything over will overlap the graph. Same for the count labels, however their width varies.
  • Severe lack of animations

Contribution

Please feel free to send a pull request to fix any of the Caveats listed above. This code was written in the car on the way to Bath University and I didn't have the concentration to perform dynamic resizing while travelling at over 70mph.