ankane / chartkick

Create beautiful JavaScript charts with one line of Ruby
https://chartkick.com
MIT License
6.35k stars 570 forks source link

Can't Draw vertical line in a bar_chart #547

Closed Muhammad-Saqib-980 closed 4 years ago

Muhammad-Saqib-980 commented 4 years ago

Hi i am using bar_chart to display a chart in my slim file which is working fine.But I want to draw a vertical line indicating a boundary for each bar is there any way for that because i have search every where if that is possible can anyone please guide me. My chart look like this Screenshot from 2020-08-20 06-46-23 my code for that chart is =bar_chart @all_loads.map{|j| ["#{j.name} - #{j.city}", j.load_count]}.sort_by{|m| m[0] }, height: @bar_chart_height

ankane commented 4 years ago

Hey @Muhammad-Saqib-980, check out the new issue page for where to get help customizing charts.

Muhammad-Saqib-980 commented 4 years ago

@ankane issue is that there is not a way to add any vertical line or bar that is an issue.