Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Explicit Output of HC Defaults #5

Open
hcpchris opened this issue Mar 13, 2023 · 1 comment
Open

Support for Explicit Output of HC Defaults #5

hcpchris opened this issue Mar 13, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@hcpchris
Copy link
Collaborator

In v.1.0.0, Highcharts Stock for Python outputs the JavaScript literal object where any unspecified property is serialized to a dict as None and subsequently stripped from the serialized JS object literal version. Logically, this will then apply the Highcharts default value for that property.

In v.1.x, it would be nice (to aid in debugging / diagnostics) to have an show_default_values argument in the .to_js_literal() method which if True will output the JS literal with those default values explicitly displayed, rather than stripped. By default, this argument should be False.

@hcpchris hcpchris added the enhancement New feature or request label Mar 13, 2023
@hcpchris
Copy link
Collaborator Author

hcpchris commented Mar 13, 2023

This is dependent on highcharts-for-python/highcharts-core#13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Todo
Development

No branches or pull requests

1 participant