Permalink
Browse files

Added some documentation and also updated readme

  • Loading branch information...
toamitkumar committed Mar 28, 2013
1 parent 99da484 commit 67aacd5710844be940b34802ad149e768f4713ad

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -19,7 +19,12 @@ def add_chart
color: 'FFFFFF',
font_name: "Arial"
},
- curve_inerpolation: true,
+ events: {
+ subscriber: self,
+ line: {
+ symbol_selected: "symbol_selected_for_index"
+ }
+ },
theme: MotionPlot::Theme.stocks,
xAxis: {
title: {
@@ -84,4 +89,8 @@ def add_chart
@chart_view.addSubview(view)
end
+ def symbol_selected_for_index(data)
+ p data
+ end
+
end
Oops, something went wrong.

0 comments on commit 67aacd5

Please sign in to comment.