michelson/lazy_high_charts — Issue #49: Adding flags to highstocks
Author: hishalv
Created: 2012-03-04 18:11:48+00:00
State: open

Hi,

Firstly thanks guys for this gem, has helped me a lot. I am trying to add flags to my chart like this demo chart (this is the jsfiddle to show how the data is arranged). The data part of my code gets rendered like this

h1 = LazyHighCharts::HighChart.new('graph') do |f|
....
f.series(:name=>'Consumption', :data => [[1333152000000, 1200], [1335744000000, 1140]] )
....
end

How can i pass the flag options array data into f.series
Thanks