explaingit

jawbone/jbchartview

Analysis updated 2026-07-03

3,708Objective-CAudience · developerComplexity · 2/5Setup · easy

TLDR

An iOS library from Jawbone for drawing animated line and bar charts inside iPhone and iPad apps, using the familiar table-view data-source pattern iOS developers already know.

Mindmap

mindmap
  root((JBChartView))
    Chart types
      Bar charts
      Line charts
      Filled areas
    Data pattern
      Data source methods
      Delegate callbacks
      UITableView style
    Features
      Animated reloads
      Color customization
      Selection highlights
    Setup
      CocoaPods install
      Drag source files
      Swift bridging header
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Add an animated bar chart to an iOS fitness app to show weekly activity data

USE CASE 2

Display a multi-line graph in an iPhone dashboard app showing trends over time

USE CASE 3

Embed a bar chart in a Swift iOS project using the Objective-C bridging header

USE CASE 4

Show animated transitions when updating chart data in an iPad analytics view

What is it built with?

Objective-CiOSCocoaPodsXcode

How does it compare?

jawbone/jbchartviewtelly/tlyshynavbarsbjson/sbjson
Stars3,7083,7053,718
LanguageObjective-CObjective-CObjective-C
Setup difficultyeasyeasyeasy
Complexity2/52/52/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 30min

Swift projects need an Objective-C bridging header to use this library.

License information was not described in the explanation.

In plain English

JBChartView is an iOS charting library for drawing line graphs and bar graphs inside iPhone and iPad apps. It was built and released by Jawbone, the fitness wearable company. The library is a drop-in UIView subclass, meaning you add it to a screen the same way you would add any other visual element in an iOS project. The programming interface follows the same data source and delegate pattern that iOS developers already know from UITableView, which is the standard list component on the platform. To display a bar chart, you implement two short methods: one that returns how many bars to draw, and another that returns the height of each bar. The library normalizes the values automatically to fit the available space. Line charts work similarly, with methods that return how many lines and how many data points each line should have. Both chart types support animated reloads, where bars or lines animate smoothly from their old values to new ones. Filled areas under line charts cannot animate due to a limitation in Apple's graphics framework, but the lines themselves do animate. The library supports customization of colors, widths, selection highlights, and other visual properties through a separate customization guide in the repository. Installation is done via CocoaPods by adding one line to a project's Podfile, or by dragging the source files directly into Xcode. Swift projects are supported through a bridging header. The library requires iOS 6 or later and Automatic Reference Counting. A demo project is included in the repository that shows both chart types and demonstrates the available customization options.

Copy-paste prompts

Prompt 1
I want to add a bar chart to my iOS app using JBChartView. Show me how to install it via CocoaPods and implement the two required data source methods to draw bars from an array of values.
Prompt 2
Using JBChartView in my iPhone app, how do I add a line chart that animates when the data changes? Walk me through the delegate methods and how to trigger a reload with animation.
Prompt 3
I have a Swift iOS project and want to use JBChartView. How do I set up the Objective-C bridging header and add a basic bar chart to a view controller?
Prompt 4
How do I customize the colors and selection highlight of a JBChartView bar chart? Show me the customization properties available.

Frequently asked questions

What is jbchartview?

An iOS library from Jawbone for drawing animated line and bar charts inside iPhone and iPad apps, using the familiar table-view data-source pattern iOS developers already know.

What language is jbchartview written in?

Mainly Objective-C. The stack also includes Objective-C, iOS, CocoaPods.

What license does jbchartview use?

License information was not described in the explanation.

How hard is jbchartview to set up?

Setup difficulty is rated easy, with roughly 30min to a first successful run.

Who is jbchartview for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Scan in gitsafehub Deploy in gitdeployhub jawbone on gitmyhub

Verify against the repo before relying on details.