image - Highcharts: Custom button - symbol is misplaced -


i have added new custom button, own symbol image: image not placed should :( can 1 help? chanan

enter image description here

here how added button:

    exporting: {         buttons: {             'mybutton': {                 _id: 'mybutton',                 symbol: 'url(images/gallery/reset_zoom.jpg)',                 x: -62,                 symbolfill: '#b5c9df',                 hoversymbolfill: '#779abf',                 onclick: function() {                     alert('click!')                 }             }         }     } 

found answer :) using symbolx , symboly

    exporting: {         buttons: {             'mybutton': {                 _id: 'mybutton',                 symbol: 'url(images/gallery/reset_zoom.jpg)',                 symbolx:6,                 symboly:6,                 x: -62,                 symbolfill: '#b5c9df',                 hoversymbolfill: '#779abf',                 onclick: function() {                     alert('click!')                 }             }         }     } 

Comments

Popular posts from this blog

sql - VB.NET Operand type clash: date is incompatible with int error -

SVG stroke-linecap doesn't work for circles in Firefox? -

python - TypeError: Scalar value for argument 'color' is not numeric in openCV -