Skip to content

Commit

Permalink
Added example for vertical bar columns
Browse files Browse the repository at this point in the history
  • Loading branch information
toamitkumar committed Mar 22, 2013
1 parent ef30316 commit 5e03c8e
Show file tree
Hide file tree
Showing 415 changed files with 54,468 additions and 2,116 deletions.
2 changes: 1 addition & 1 deletion Gemfile
@@ -1,6 +1,6 @@
source 'https://rubygems.org' source 'https://rubygems.org'


gem 'rake', '0.9.6' gem 'rake', '~> 0.9.6'
gem 'bubble-wrap' gem 'bubble-wrap'
gem 'cocoapods' gem 'cocoapods'
gem 'motion-cocoapods' gem 'motion-cocoapods'
Expand Down
30 changes: 2 additions & 28 deletions examples/BarChart/app/home_view_controller.rb
Expand Up @@ -60,40 +60,14 @@ def add_chart
}, },
series: [{ series: [{
name: 'Tokyo', name: 'Tokyo',
data: [ data: [7.0, 6.9, 9.5, 14.5, 18.2, 21.5, 25.2, 26.5, 23.3, 18.3, 13.9, 9.6],
7.0,
6.9,
9.5,
14.5,
18.2,
21.5,
25.2,
26.5,
23.3,
18.3,
13.9,
9.6
],
style: { style: {
color: "173B0B", color: "173B0B",
width: 0.25 width: 0.25
} }
}, { }, {
name: 'New York', name: 'New York',
data: [ data: [0.2, -0.8, 5.7, 11.3, 17.0, 22.0, 24.8, 24.1, 20.1, 14.1, 8.6, 2.5]
0.2,
-0.8,
5.7,
11.3,
17.0,
22.0,
24.8,
24.1,
20.1,
14.1,
8.6,
2.5
]
}] }]
} }


Expand Down

0 comments on commit 5e03c8e

Please sign in to comment.