Is there a way to use some of the highcharts-stocktools-toolbar items?

Sample toolbar functionn needed

I am able to remove the parts of toolbar by not adding them in my directive via
stockTools: {gui: {
enabled: true,
buttons: [‘separator’, ‘measure’, ‘toggleAnnotations’, ‘separator’, ‘flags’, ‘separator’,’zoomChange’, ‘fullScreen’, ‘separator’,

/‘lines’, ‘crookedLines’, ‘simpleShapes’, ‘verticalLabels’/

]

But in measure i want only measureX, not measureY and measure XY.
Is there a way to include subparts of the toolbar items rather than removing them in stock-tools.js.

Source: AngularJS