I want to add submenu to custom action that I created in stock tools. For example Shapes actions have 3 submenu's: Label, Circe and Rectangle. I also want to add my custom actions like these submenu's.
I already tried to implement this code, but it is not working.
Code: Select all
definitions: {
customAnnotation: {
className: "highcharts-custom-annotation",
symbol: "text.svg",
items: ["submenu1", "submenu2"],
submenu1: {
symbol: "text.svg"
}
submenu2: {
symbol: "text.svg"
}
},