score:1

Accepted answer

the entire code base for highcharts is included in the stock package. to avoid collision you should therefore only include highstock. with your requirements you also need "highcharts-more" and "solid-gauge" modules.

none of the packages you reference has this specific setup, and using both cause a collision. i've created a package ondkloss:highstock (github) which satisfies your requirements. if you would like to create your own, the essense is including the mentioned files, for example like this:

package.onuse(function(api) {
    api.versionsfrom('1.1.0.2');
    api.use('jquery');

    api.addfiles([
        // core
        'lib/highstock.js',
        // extra types
        'lib/highcharts-more.js',
        'lib/highcharts-solid-gauge.js',
    ], 'client');
});

the sources used can be found here:


Related Query

More Query from same tag