Add a maxPointWidth for bar and column charts
Related to this issue: http://highcharts.uservoice.com/forums/55896-general/suggestions/2079099-manually-set-the-column-width
I feel that pointWidth is not an adequate solution for preventing extremely wide columns (or tall bars) in a chart with a small data set. If you're working with a dynamic data set that could be quite small or large, setting a specific width to force small data sets to display well will backfire when displaying a larger dataset, causing the bars to overlap.
-
cvillemure commented
I would also love that feature. A chart with only one bar / column is ugly. Setting a max width would be a nice and simple way to avoid that.
-
Paweł Fus commented
I have created simple plugin which allow to set `maxPointWidth` for column series, see: http://jsfiddle.net/83M3T/1/
Any comments appreciated.
-
Andrew Schetinin commented
I also vote for this feature - the solution with pointWidth is partial and does not work well in many cases.
I had to apply a dirty trick with JS script that attempts to detect a current column width, and if it is too large, redraw the entire chart again with pointWidth set to some decent value.
This works, more or less, but it is very ugly.