Skip to content

eternityz/RWBarChartView

Repository files navigation

RWBarChartView

A scrollable, highly customizable and easy to use charting view for bar graphs. Introduced in China Air Quality Index.

Demo Video

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 your Podfile;

or

  • Clone this repo, place RWBarChartView.h and RWBarChartView.m into your project.

License

MIT License

About

Scrollable chart view for bar graphs.

Resources

License

Stars

Watchers

Forks

Packages

No packages published