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

Create as an actual module, i.e. export zoomPlugin #16

Closed
maackle opened this issue Jun 22, 2016 · 0 comments
Closed

Create as an actual module, i.e. export zoomPlugin #16

maackle opened this issue Jun 22, 2016 · 0 comments

Comments

@maackle
Copy link

maackle commented Jun 22, 2016

I want to be able to register this plugin with my own instance of Chart, which is not named Chart in my case. i.e. I want:

import Chart2 from 'chart.js';
import zoomPlugin from 'chart.zoom.js';

Chart2.pluginService.register(zoomPlugin);
compwright added a commit to compwright/chartjs-plugin-zoom that referenced this issue Nov 17, 2016
compwright added a commit that referenced this issue Nov 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants