Skip to content

Commit

Permalink
Update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ianjennings committed Mar 31, 2015
1 parent b375d43 commit bc7959c
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ Realtime animated graphs with [PubNub](http://pubnub.com) and [C3](http://c3js.o
## Quickstart

```html
<script type="text/javascript" src="http://pubnub.github.io/eon/lib/eon-chart.js"></script>
<link type="text/css" rel="stylesheet" href="http://pubnub.github.io/eon/lib/eon.css" />
<div id="chart"></div>
<script>
eon.chart({
Expand All @@ -32,15 +34,6 @@ Parameter | Value | Default

## Simple Example

Include the Javascripts within your file.

```js
<script src="http://cdn.pubnub.com/pubnub.min.js"></script>
<script src="http://d3js.org/d3.v3.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script src="../js/pubnub-c3.js"></script>
```

Plug your normal C3 config into the ```generate``` param. Supply a PubNub channel in `channel`` param. ```eon.chart``` returns the normal c3 chart object.

```html
Expand Down

0 comments on commit bc7959c

Please sign in to comment.