Опираясь на принятый ответ, нужно было внести следующие изменения, чтобы он заработал:
1.Swap plotHeight
(соответствует оси y) и plotWidth
(соответствует оси x), как показано ниже:
this.curBtn = this._chartPosition.renderer.button('$', this._chartPosition.plotWidth/2-15,this._chartPosition.plotHeight/2 + 30, (function(){
console.log(false);
}).bind(this),normalState,normalState1,pressedState,null,null).add();
this.prcBtn = this._chartPosition.renderer.button('%', this._chartPosition.plotWidth/2+5,this._chartPosition.plotHeight/2 + 30, (function(){
console.log(true);
}).bind(this),normalState1,normalState1,pressedState,null,null).add();
На событии перерисовки диаграммы пришлось уничтожить кнопки и добавить их снова, как показано ниже:
events:{
redraw:(function(){
this.curBtn.destroy();
this.prcBtn.destroy();
this.addButtons();
}).bind(this)
}
Рабочий стакблиц здесь: здесь
Надеюсь, это поможет!