I have a highchart as below in fiddle
https://jsfiddle.net/fedqvuLp/39/
trying to add different shape name as shown below
{
shape: 'diamond',
color:'black',
type: 'flags',
data: [{
fillColor:'rgb(255, 97, 0)',
x: 1426204800000,
title: 'l1',
}, {
fillColor:'rgb(255, 165, 0)',
x: 1467590400000,
title: 'l2',
}]
}
what should be shape name parameter in the config to get the
shape
any documentation helps
Eg: 'pin' is not working
You can define your custom shape by adding a new named function to
symbolsobject inSVGRendererprototype. For example:Live demo: https://jsfiddle.net/BlackLabel/xy6ftpn5/
Docs: https://www.highcharts.com/docs/stock/flag-series