Hi,
I can succesfully resize the chart within a radpane at run-time (clientside) using
I can succesfully resize the chart within a radpane at run-time (clientside) using
function ResizeChart(sender, args)
{
var chart = $get("<%= RadChart1.ClientID %>");
var chartimg = chart.getElementsByTagName("img")[0];
chartimg.style.setAttribute(
"width", sender.get_width() + "px");
chartimg.style.setAttribute(
"height", sender.get_height() + "px");
}
However, the image is stretched. How can i "repaint?" the chart image to its new size rather than just stretching ?
Thanks
Mark