iTunes Style - Graph Controller
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Classes
GraphFiles
PieFiles
iTunes Table Header.xcodeproj
iTunes Table Header
iTunes Table HeaderTests
screenshot
.gitignore
LICENSE
README.md

README.md

Web Graph Controller

A complete collection of subclasses and controller classes to make any WebView a custom iTunes style horizontal graph. You can style this graph with CSS all transitions and animations are done via CSS3. No images required.

These graphs are generated by CSS & CSS SVG code only all values are passed via Javascript to a webview in your Cocoa project.

ScreenShot

GraphController

A subclass of WebView that calculates the sum of the NSTableView and feeds that as int variables into the WebView where CSS3 take the data and dynamically draw the graph.

ScreenShot

Sample Application - iTunes Graph Style

Included is a Sample Application that shows you how to connect all the pieces and allows you to play with the data in the tableview and see it drawn in the graph view below. Enjoy!

Swift?

Interested in seeing this expand, improve and move to Swift? Pull / Push requests appreciated

Attribution

https://github.com/githiro - For the CSS SVG Graph Code