I''ve tried so many different ways of implementing :title and setTitle
but I
cannot seem to change the main title above the chart. Here is the example
given on the gem''s page
@h = LazyHighCharts::HighChart.new(''graph'') do |f|
f.options[:chart][:defaultSeriesType] = "area"
f.series(:name=>''John'', :data=>[3, 20, 3, 5, 4,
10, 12 ,3,
5,6,7,7,80,9,9])
f.series(:name=>''Jane'', :data=> [1, 3, 4, 3, 3, 5,
4,-46,7,8,8,9,9,0,0,9] )
end
The closest I''ve come is removing the title by using f.options[:title]
"Test Title"
Thanks
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.