GCharts 1.0

This package supplies a family of classes that use the Google Charts API to create chart images. They greatly simplify the process of creating such graphs. The package currently support 3 chart types:

  1. Column
  2. Lines
  3. Pie

I've only implemented the parts of these APIs that seemd most useful to me.



Details

Author
Arieh Glazer
Current version
1.0
GitHub
arieh/GCharts
Downloads
1472
Category
Utilities
Tags
Report
GitHub Issues

Releases


Dependencies

  • _self_/_current_: core/1.3 : [Core,Class,Class.Extras,Element,Element.Event,Array]

How to use

Columns:

var columns = new GCharts.Columns([
        {name:'foo', value:10}
        , {name:'bar' , value:20}
],{
    target : document.body
});

Pie:

var lines = new GCharts.Pie([
        {name:'foo', value:10}
        , {name:'bar' , value:20}
],{
    target : document.body
});

Lines:

var lines = new GCharts.Liens([
        { name : 'foo' , value : [0,10,15,10,24,50,33,40]}
        { name : 'bar' , value : [10,30,50,22,33,44]}
],{
    target : document.body
});

Discuss

A note on comments here: These comments are moderated. No comments will show up until they are approved. Comments that are not productive (i.e. inflammatory, rude, etc) will not be approved.

Found a bug in this plugin? Please report it this repository's Github Issues.

blog comments powered by Disqus