EJSC.Chart.auto_resize

See Also

Top  Previous  Next

 

Definition

 

boolean auto_resize = true

 

Description

 

Defines if the chart will start a timer to check for size changes in order to automatically redraw.  If you are controlling the display, size and position of the chart div container manually, it may be beneficial to turn this option off in order to eliminate the timer overhead.

 

Example

 

>> Turn off the chart's auto resize functionality

 

var chart = new EJSC.Chart(

                        "chart",

                        {auto_resize: false}

               );