Giter VIP home page Giter VIP logo

angular-google-chart's Introduction

Google Chart Tools Directive Module

for AngularJS

Join the chat at https://gitter.im/angular-google-chart/angular-google-chart

Install

Install with bower

bower install angular-google-chart --save

Goal

Wrapper directive for Google Chart Tools

Contributing

Interested in contributing to Angular-Google-Chart? Cool! Check out CONTRIBUTING.md for a brief guide to raising issues and submitting Pull Requests.

A note on branches

Development branch is gh-pages.

Release branch is master (idealy), and was created just because Bower needed it.

Please send your pull requests to gh-pages.

Building with Grunt

In order to build the project you will need to have NodeJS and NPM installed. In commandline, from the root of the project, run npm install. This will install grunt and the required plugins. Run grunt, and the default task will build ng-google-chart.js

Usage and Demo

See sample files index.html and controllers in partials directory. Live Demo

Other samples

Chart Data doc

See ChartWrapper and DataTable documentation.

Release notes

Unreleased Changes

Added:

  • gauge chart sample
  • basic API for hooking into chart events from other directives
  • API-level support for listeners/event-handlers on inner chart object
  • on-error directive to register listener for google charts error event

Changed:

  • Change package meta-data to reflect support for angular 1.2+
  • on-select now returns all selections if selectedItems is used instead of selectedItem
  • cancels extra draw cycles if many rapid changes are made to chart-object watched parameters
  • changed link function to controller in google-chart directive
  • broke out some functionality into separate directives (on-ready, on-select)

Removed:

  • support for select attribute

0.0.11

  • Revert to AngularJS 1.2.x as requested by user.
  • Changed Charts API loader config from a constant to a value to accomodate the use of localization localization features.
  • Add before-draw event callback attribute, allowing for last-minute changes from user's javascript (like dynamically resizing chart area for responsive designs).
  • Added French local sample.
  • Fixed issue where changing view properties didn't cause a redraw.

0.0.10

  • Fixed bug with Formatter implementation.
  • Fix issue where Select listener function was not called for unselect events.
  • Fixed some issues where drawing the chart triggered another call to draw the chart.
  • select attribute is now deprecated, to be removed in a future release. Replaced with on-select to keep naming consistent with on-ready.

0.0.9

  • Load Google Charts API with https as default protocol.
  • Support for Custom Formatters
  • Added and Reorganized Samples
  • Improved IE Compatability for API Loading

0.0.8

Exposing a factory googleChartApiPromise which is a Promise resolved when the google global object is correctly initialized.

0.0.7

Removed jQuery dependency.

0.0.3

Advanced chart formatter are available. Therefore, compatibility is broken withe the previous version of NumberFormat. Check the demo for usage.

0.0.2

The module is now named googlechart (instead of googlechart.directives)

Out of luck ?

Try another AngularJS directive that use Highcharts.

angular-google-chart's People

Contributors

albv avatar bouil avatar brugh avatar brunocassol avatar cleggatt avatar dolfolife avatar duncanbeevers avatar edofic avatar freshrob avatar icaliman avatar jasonruz avatar jpoehnelt avatar jtmkrueger avatar juhq avatar mgibas avatar mgoldsborough avatar nbering avatar ondrs avatar paumoreno avatar revolunet avatar rschooley avatar scatcher avatar slue avatar snavarro81 avatar willfarrell avatar xavierp56 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.