I need to resize this UltraChart control when the window resizes. The code gets executed, but the height does not change. Debug IE shows me that this should be the object to change. I also tried document.getElementById("UltraChart1_BaseImage").setAttribute("height", 1000);
example code
<body onresize="ResizeControl()">
...
<script> function ResizeControl() { try {
var chart = document.getElementById("UltraChart1_BaseImage");
chart.height = 1000;
}
<script>
Well, most of my issues are because it will only work if published. This works
var chart = document.getElementById("UltraChart1_BaseImage"); chart.style.height = document.documentElement.clientHeight - 60; chart.style.width = document.documentElement.clientWidth - 20;
But now a bigger problem... This fails to work
UltraChart1_ChartDataClicked
Well UltraChart1_ChartDataClicked fires, but it appears that I'm stretching the canvas, so it's all off.
Does anybody have a way to resize this control "properly" when the form is resized?