how to add custom button on highstock/highcharts on subplot/addAxis

button, highcharts

Solution

You can add buttons when using exporting module (if you don't need to, disable it), for example: http://jsfiddle.net/highcharts/2F4pJ/

exporting: { 
    buttons: {
        customButton: {
            x: -62,
            onclick: function () {
               alert('Clicked');
            },
            symbol: 'circle'
        }
    }
}

But still I don't see difference between positioning HTML button with left/top and position: absolute, or adding built-in button from Highcharts, where you need to use x and y to position button.

Problem

in highstock..specifically on volume and price chart combination. how can i add "button" on top of Volume chart..i am trying to create similar to link below.. where there is a close (X) button right most corner http://finance.yahoo.com/echarts?s=IBM+Interactive#symbol=ibm;range=1y;compare=;indicator=bollinger+volume+macd+rsi;charttype=area;crosshair=on;ohlcvalues=0;logscale=off;source=undefined;

Original source