Skip to content

Support for Explicit Output of HC Defaults #13

Open

Description

@hcpchris

In v.1.0.0, Highcharts Core 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.

Activity

  1. added
    enhancement
    on Mar 13, 2023
  2. added a commit that references this issue on Apr 2, 2023
  3. self-assigned this
    on Apr 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancement

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions