A scrollable, highly customizable and easy to use charting view for bar graphs. Introduced in China Air Quality Index.
- Bars can be organized into sections. Section titles can be displayed stationarily while scrolling (like plain UITableView).
- Each bar can have one or more segments with different colors assigned.
- Each bar can have its description text. Label for description text can be used as scrolling indicator.
- Appearance tweeks. See
RWBarChartView.h
for more details. - Optional vertical axis beneath the bars.
- UITableView like data source protocol.
Build and run the RWBarChartViewDemo project in Xcode.
See RWBarChartView.h
and the demo project.
- Add
pod 'RWBarChartView'
into yourPodfile
;
or
- Clone this repo, place
RWBarChartView.h
andRWBarChartView.m
into your project.
MIT License