I have chartkick 1.2.0 and gemdate 1.0.4 installed. When I try to do this:
<%= area_chart Match.group_by_day_of_week(:created_at).count, :width=>"700px;", :height=>"150px;" %>
I get this:

He always gives me the wrong y axis. How can I format it so that it displays "Monday", "Tuesday" ...
My second example, which I also cannot understand, is grouped by the clock per day.
<% abc=Matches.on_location(@location).group_by{|b| b.created_at.strftime("%H").to_i} %> <% abc.update(abc){|key, v| v.length} %> <%= abc=abc.sort_by{|k,v| k} %> <%= area_chart abc, :width=>"700px;", :height=>"150px;" %>

What am I doing wrong, that it displays 1:00:00, etc.? I just would like to have numbers, that is: 0, 1, 2, 3 .. 23?
I googled around, checked their documents from top to bottom: http://ankane.imtqy.com/chartkick/ for several hours, and I really don't know what I missed. Any help would be greatly appreciated!
source share