9.7.0 to 9.8.0

Renderers and webpack bundling

Note: For those importing advanced.js and not using webpack tree shaking, no changes are necessary for this upgrade. However, if you were importing separate files for advanced features, be aware that renderersAdvanced.js is no longer available. You should now import the required files from the renderers folder.

When bundling with webpack, you can selectively include the renderers you want through tree shaking.

To upgrade to 9.7.0, you will need to modify what you are activating as per chartiq/webpack-example/importActivationAdvanced.js.

importActivationAdvanced.js:

Advanced.renderersAdvanced has been replaced with Advanced.advancedNexus and should always be included if you are using any of the renderers listed below.
Add the following renderer activations as required:

Advanced.bars,
Advanced.heatmap,
Advanced.histogram,
Advanced.hlc,
Advanced.ohlc,
Advanced.scatter,
Advanced.shading,

Optional Imports

The imports ./js/chartiq.js, ./js/standard.js, and ./js/componentUI.js have been added in certain templates to enhance performance.

Adding these imports is optional, and the library functions normally without them. However, including them in your template can improve load times through parallel loading.