score:1

Accepted answer

as you can see in the highcharts gantt source code: https://github.com/highcharts/highcharts/blob/47dfb49f7b6053178c92d24b34b5f3e7ddd8770b/ts/series/gantt/ganttseries.ts#l202

shape for milestone can not be set through api options.

the simplest solution is to replace diamond function with the built in triangle function.

(function(h) {
    h.renderer.prototype.symbols.diamond = h.renderer.prototype.symbols.triangle
})(highcharts);

live demo: https://jsfiddle.net/blacklabel/9zuodljt/

docs: https://www.highcharts.com/docs/extending-highcharts/extending-highcharts


Related Query

More Query from same tag