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

android - Why am I getting the message 'Youractivity.java is not an activity subclass or alias' -

Making Empty C++ Project: General exception (Exception from HRESULT:0x80131500) Visual Studio Community 2015 -

How to fix java warning for "The value of the local variable is not used " -