Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
970
Resize UltraChart
posted

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>

Parents Reply Children
No Data