Skip to content

Commit

Permalink
removing initialize option
Browse files Browse the repository at this point in the history
  • Loading branch information
jjppof committed Feb 11, 2020
1 parent 4d3db71 commit 7c4e49c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@
});

tools = new ChartJSEnhancements(window.myScatter);
tools.initialize({zoom: 1, select: 2, pan: 4});
tools.initialize();
tools.setAfterSelectHandler((selected_points) => {
if (data_length <= 3000)
document.getElementById("selected").innerText = JSON.stringify(selected_points, null, 2);
Expand Down

0 comments on commit 7c4e49c

Please sign in to comment.