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' -

python - How do I create a list index that loops through integers in another list -

c# - “System.Security.Cryptography.CryptographicException: Keyset does not exist” when reading private key from remote machine -