Skip to content

'navigation' not implemented..? #86

@maxxpower007

Description

@maxxpower007

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 request

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions