I can’t seem to find the correct way to set the border color for the columns in a column chart. The default appears to be transparent, which doesn’t display well with the number of columns and series that are shown. Any help?
Hi,
there’s a borderColor attribute in the HighCharts API (see http://api.highcharts.com/highcharts/plotOptions.column.borderColor ), but it’s not available from the default Java PlotOptionsColumn implementation. You can access it with a bit of trickery, though: if you extend the PlotOptionsColumn class and add the following field
private Color borderColor;
with the appropriate setter and getter, you should be able to set the border color just like you can use PlotOptionsColumn.setColor() to set the body color of the column.
Hope this helps,
Olli
Fantastic! That did the trick… Thanks!
No problem, good luck with your project!
-Olli