Skip to content

Commit

Permalink
update transform example
Browse files Browse the repository at this point in the history
  • Loading branch information
ianjennings committed Mar 2, 2015
1 parent 9c94aef commit ddfdad7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions examples/transform.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<body>
<div id="chart"></div>
<script>
eon.chart({
var new_chart = eon.chart({
channel: "c3-transform",
flow: {
duration: 200
Expand Down Expand Up @@ -62,14 +62,14 @@
}
});

chart.chart.transform('bar');
new_chart.transform('bar');

setTimeout(function () {
chart.chart.transform('line');
new_chart.transform('line');
}, 2000);

setTimeout(function () {
chart.chart.transform('donut');
new_chart.transform('donut');
}, 4000);

}, 6000);
Expand Down

0 comments on commit ddfdad7

Please sign in to comment.