How can I edit columns (a,b,c) width in a bar chart ?
Didn't found it in the doc.
I'm new to Chartist and I was looking for the same. I would be expecting this to be an option to be passed to the chart, but instead, by looking at the examples, CSS seems the only way it can be achieved:
.your-chart .ct-bar {
stroke-width: 60px
}
Do I have to change columns spacing too or it is automatic
Stroke witdth is controlled using CSS. Bar distance on multi series bar charts is controlled as an option in JavaScript seriesBarDistance ( see http://gionkunz.github.io/chartist-js/api-documentation.html#chartistbar-declaration-defaultoptions )
We keep a very strong separation of concerns for our library. Everything presentation related, should if possible, be done with CSS.
Most helpful comment
I'm new to Chartist and I was looking for the same. I would be expecting this to be an option to be passed to the chart, but instead, by looking at the examples, CSS seems the only way it can be achieved: