-
Notifications
You must be signed in to change notification settings - Fork 15
Description
Hi,
I am trying to change the export icon (and add others) to a font icon.
To do this I need to set allowHTML in the 'navigation' part, however, it doesn't seem to get converted:
Eg:
hc_options = {
'navigation': {
'buttonOptions': {
'useHTML': True
}
},
'exporting': {
'buttons': {
'contextButton': {
'enabled': False
},
'exportButton': {
'text': '<i class="fa fa-download"></i>',
'onclick': 'function () { this.exportChart(); }'
}
}
}
}
chart = Chart(options=hc_options)
chart.to_dict()
Yields (notice the missing 'navigation'):
{'userOptions': {'exporting': {'buttons': {'contextButton': {'enabled': False}, 'exportButton': {'text': '<i class="fa fa-download"></i>'}}}}}
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request