Inheritable Backbone D3 Charts
Switch branches/tags
Nothing to show
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.
dist
examples
src
.gitignore
.jshintrc
Gruntfile.js
README.md
package.json

README.md

Backbone-Charts

Purpose

To create inheritable base charts for Backbone applications

Examples

// Bar Chart
new Backbone.Charts.BarChart({
    el: "#bar-chart",
    data: [1, 2, 3, 4, 5],
    width: 300,
    height: 150
}).render();

// Line Chart
new Backbone.Charts.LineChart({
    el: "#line-chart",
    data: [1, 2, 3, 4, 5],
    width: 300,
    height: 150
}).render();

// Pie Chart
new Backbone.Charts.PieChart({
    el: "#pie-chart",
    data: [1, 2, 3, 4, 5],
    width: 300,
    height: 150,
    radius: 75
}).render();