Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including ember-cli-cedar with all npm packages installed. Try it out:

var emberCliCedar = require("ember-cli-cedar")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

ember-cli-cedar v0.7.2

Ember addon for Esri Cedar charting library

Ember-cli-cedar

Ember addon for Esri's Cedar charting library.

Usage

This addon exposes a component you can use to declaratively add a Cedar chart to your ember application:

{{cedar-chart specification=model.specification overrides=model.overrides options=model.options onClick=(action 'onChartClick')}}

See the Cedar documentation for details on how to construct a chart specification and other chart parameters.

Installation

Run the following in any ember application:

ember install ember-cli-cedar

Collaborating

The rest of this README outlines the details of collaborating on this Ember addon.

Installation

  • git clone this repository
  • npm install
  • bower install

Running the Dummy App

You can test this addon in the dummy app with:

  • ember server
  • Visit your app at http://localhost:4200.

NOTE: Windows users may need to specify an alternate livereload port like:

ember server -lrp 9000

Running in Another App

In the root of this repo run:

npm link

In the consuming app, run:

npm link ember-cli-cedar
ember generate ember-cli-cedar
ember server

Running Tests

  • npm test (Runs ember try:testall to test your addon against multiple Ember versions)
  • ember test
  • ember test --server

Building

  • ember build

For more information on using ember-cli, visit http://www.ember-cli.com/.

Metadata

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free