javascript - Parallel Coordinates Download Plot Callback -


i trying implement download plot feature parallel coordinates. have setup using jquery handle on click , followed example download plot. getting failed - network error on chrome.

i assume has callback have idea can causing this?

$('#download-image').click(function(e){       e.preventdefault();       var callback = function (canvas) {           // download image           var download = document.createelement("a");           download.href = canvas.todataurl("image/png");           download.download = "parallel-coordinate.png";           download.click()       };       parcoords.mergeparcoords(callback);     }); 


Comments

Popular posts from this blog

php - Embed BBCode within itself not working -

three.js - how to load gltf in three JS -

sql server - T-SQL: Access DB objects in same schema without qualifying? -