https://www.aspforums.net/Threads/266828/Implement-Free-HTML5-Canvas-charts-using-Chartjs-in-ASPNet-on-the-value-of-DROP-DOWN-LIST/
with refering this article how to set height and weidth of canvas chart
Hi,
To set height and width add the below line of code
el.setAttribute("height", "500px"); el.setAttribute("width", "400px");
after below line.
var el = document.createElement('canvas');
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.