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 -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -