Currently bar.width can be specified an absolute value or in ratio.
To make straight forward, provide an callback option to adjust width value based on chart's width or from user needs.
bar: {
// d: data
// width: chart's width
width: function(d, width) {
return width / 10;
}
}
Description
Currently bar.width can be specified an absolute value or in ratio. To make straight forward, provide an callback option to adjust width value based on chart's width or from user needs.