ruby on rails - customize a chartkick bar_chart -


i'm trying draw chart of user stories, grouped priority, this:
<%= bar_chart @stories.group(:priority).where(:priority => ["1", "2", "3", "4"]).count %> turns out chart drawed enter image description here want chart display description of priority. actually, 1 means 'low' , 3 means 'high. how can this?


Comments

Popular posts from this blog

javascript - how to protect a flash video from refresh? -

android - Associate same looper with different threads -

visual studio 2010 - Connect to informix database windows form application -