image - Highcharts: Custom button - symbol is misplaced -
i have added new custom button, own symbol image: image not placed should :( can 1 help? chanan
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
Post a Comment