Renaming items in export menu in highcharts -
Can someone suggest that if anyway we can rename the item in the upper image in the export menu. Currently there are entries in it: Download the PNG image Download the JPEG image ...
I want to remove the word "image". Also want to control the full style.
There are many options for this, some can be done in JavaScript, and I'm sure CSS Can be done in more. Here is a desired text change and changes in some style are showing
You can read more details below in the API on this
has changed with the text: ..
lang: {printChart: 'print chart', downloadPNG: 'download PNG', downloadJPEG: 'download JPEG', downloadPDF: 'download PDF', downloadSVG: 'download SVG', contextButtonTitle : 'Context menu'} More style and style of the menu:
Navigation: {menuStyle: {border: '1px solid # A0A0A0', background: '#FFFFFF', padding: '5px 0'}, menuItemStyle: {padding: '0 10px', background: null, color: '# 303,030', fONTSIZE: '11px'}, menuItemHoverStyle: {background: '# 4572A5 ', color:' #FFFFFF '}, buttonOptions: {symbolFill:' # E0E0E0 ', symbolSize: 14, symbolStroke:' # 666 ', symbolStrokeWidth: 3, symbolX: 12.5, symbolY: 10.5, aligned:' s VerticalAlign: 'top', width: 24}} ; ' / Code> You can get the default values from very much above. You use some default variables that you do not have, so you have to change them. And as mentioned, CSS can give you an extra distance.
Comments
Post a Comment