generators/dashboard/templates/controller.erb in acts_as_dashboard-0.4.0 vs generators/dashboard/templates/controller.erb in acts_as_dashboard-0.4.1
- old
+ new
@@ -20,10 +20,10 @@
dashboard_line_graph do |d|
d.name = :random_dates_and_numbers
d.title = 'Random Dates and Numbers'
d.update_interval = '15s'
- d.line_colours = %w(blue)
+ d.line_colours = 'blue'
d.x_axis = :dates
d.data do
(0..10).map do
year = Time.now.year
month = sprintf '%02d', rand(12) + 1