Skip to content

Commit

Permalink
update examples for previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
boorad committed Jan 16, 2012
1 parent 2480fb1 commit a4aef55
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
9 changes: 6 additions & 3 deletions examples/realtime/js/chart.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,16 @@ chart.view_span = 20; // show 20 secs by default
chart.scroll_interval = 1000; // one sec (in millis)
chart.series = {
"all" : {
"name" : "Overall Average"
"name" : "Overall Average",
"active" : true
},
"male" : {
"name" : "Male"
"name" : "Male",
"active" : true
},
"female" : {
"name" : "Female"
"name" : "Female",
"active" : true
}
};
chart.fill_left_pts(1, 50.0, 0);
Expand Down
3 changes: 2 additions & 1 deletion examples/stock/index.haml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@
// add some metadata about the series
chart.series = {
"aapl" : {
"name" : "AAPL"
"name" : "AAPL",
"active" : true
}
};
chart.view_span = 120;
Expand Down
3 changes: 2 additions & 1 deletion examples/stock/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@
// add some metadata about the series
chart.series = {
"aapl" : {
"name" : "AAPL"
"name" : "AAPL",
"active" : true
}
};
chart.view_span = 120;
Expand Down

0 comments on commit a4aef55

Please sign in to comment.