• Stars
    star
    166
  • Rank 227,748 (Top 5 %)
  • Language
    Objective-C
  • License
    MIT License
  • Created over 10 years ago
  • Updated almost 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Scrollable chart view for bar graphs.

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