Eliuth - 2016-09-30

Hi,

I'm having troubIe setting column’s max point width in GWT Highcharts 1.7.0.

I tried to use Series.setOption() method as well as ColumnPlotOptions, but the option doesn't change:

series.setOption("maxPointWidth", 10);
series.setPlotOptions(new ColumnPlotOptions().setOption("maxPointWidth", 10));

It looks like a bug because I can set pointWidth using the same methods:

series.setOption("pointWidth",10);
series.setPlotOptions(new ColumnPlotOptions().setOption("maxPointWidth", 10));

Here's a simple example to reproduce the bug:

        BaseChart chart = new Chart();
        Series series = chart.createSeries().setType(Series.Type.COLUMN);

        series.setOption("maxPointWidth",10);
//  series.setPlotOptions(new ColumnPlotOptions().setOption("maxPointWidth", 10));

        series.addPoint(0, 5);
        series.addPoint(1, 8);
        series.addPoint(2, 4);
        series.addPoint(3, 7);
        series.addPoint(4, 9);

        chart.addSeries(series);