Skip to content

cuperman/backbone-charts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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();

About

Inheritable Backbone D3 Charts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published