RWBarChartView
A scrollable, highly customizable and easy to use charting view for bar graphs. Introduced in China Air Quality Index.
Features
- 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.
Demo
Build and run the RWBarChartViewDemo project in Xcode.
Usage
See RWBarChartView.h
and the demo project.
Installation
- Add
pod 'RWBarChartView'
into yourPodfile
;
or
- Clone this repo, place
RWBarChartView.h
andRWBarChartView.m
into your project.
License
MIT License