asked on
I am using charts.js to draw a polar chart. When the chart is complete i want to make it available as a download to the user so they can use it in presentations etc.
To do this i use toBase64Image()
However i have realized that the image is rendered at the same size as it appears on the screen. Understandably i guess!. However when my app is run on a mobile the resulting image is too small to be used elsewhere. I would like it to be at least 400*400 pixels.
Is there another strategy i can employ? Can I redraw the chart in a hidden div which has a larger size, or perhaps render it server side? Any ideas would be appreciated.
I am using MVC 5 ASP.NET C#.