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

How do I show the export buttons? #11

Closed
emperorjm opened this issue Jan 28, 2017 · 1 comment
Closed

How do I show the export buttons? #11

emperorjm opened this issue Jan 28, 2017 · 1 comment
Labels

Comments

@emperorjm
Copy link

I am using the following but it is not showing the export buttons:

exporting: {
enabled: true,
buttons: {
contextButton: {
enabled: true
}
}
},

@weizhenye
Copy link
Owner

As said in Export module docs:

To enable exporting, the module needs to be included.

You need to include the exporting module:

import Vue from 'vue';
import VueHighcharts from 'vue-highcharts';
import Highcharts from 'highcharts';
import loadExporting from 'highcharts/modules/exporting';

loadExporting(Highcharts);

Vue.use(VueHighcharts, { Highcharts });

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants