Skip to content

A pure javascript plugin for modeling data in the style of Google's Material Design. 📈 📊

License

Notifications You must be signed in to change notification settings

Kiricon/MaterialGraph.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Material Graph

A super lightweight pure javascript plug in for easily making html5 graphs that look great!

Installation

The files need for installation are located at /dist

Use

To use material graph simply import the MaterialGraph.min.js file in to your project and then create a new instance of the Graph class. The graph class constructor takes two arguments, a string for the element you want to reference and a dataset.

var dataset = [
    {x: 0, y:0},
    {x: 2, y:3},
    {x: 7, y: 5}
    ];
var graph = new Graph('#canvas', dataset); //Get the graph ready
var graph.init(); // Draw the graph

License

MIT © Dominic Valenciana

About

A pure javascript plugin for modeling data in the style of Google's Material Design. 📈 📊

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published