Skip to content

Sticky Chart Options

cvasseng edited this page Jan 25, 2017 · 3 revisions

In some cases, it makes sense to enforce strict option overrides.

This could be in cases where e.g. the export server URL should point to a private server, where the credits settings should always display certain information, or where the appearance should be "hard set".

This can be achieved by setting the global stickyChartProperties option by calling highed.option('stickyChartProperties', {..});. Any options passed into the second argument will be merged into the chart options with a precedence.

Important: The sticky chart options are not saved when saving/loading projects, as they are part of the core editor configuration. They are however of course included when exporting charts.