angularjs - How to export angular charts to an image including legend -


i using code export angular charts image.

var canvas = document.getelementbyid(chartunqid);

var content = canvas.todataurl("image/png");

scope.chartimageurl = content;

this working fine it's not including legend in image.i need legend , canvas save png.


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -