/meteor-amcharts

AmCharts free, a responsive js chart framework, packaged for meteor

Primary LanguageJavaScript

Overview

This is a meteor package of the AmCharts free version for meteor projects.

Installation

Install by typing meteor add em0ney:amcharts

This version replaces 'mrt:amcharts'

Usage

Take example charts from AmCharts Demos. Simply place all javascript initialisation code inside of a Template.rendered = function() {} callback. E.g. https://github.com/thesaucecode/meteor-amcharts-example/blob/master/client/example2.js

Within your chart initialization, if referencing any images (e.g. 'export.png'), please prepend the path with the package path. E.g.

"exportConfig":{
  "menuTop":"20px",
      "menuRight":"20px",
      "menuItems": [{
      "icon": '/packages/amcharts/lib/images/export.png',
      "format": 'png'   
      }]  
  }