EJSC.Chart.showZoomBox

See Also

 

Definition

 

void showZoomBox( coordinate x_min, coordinate x_max, string x_axis, coordinate y_min, coordinate y_max, string y_axis )

 

Description

 

Shows the zoom box at the specified chart coordinates using the axes specified.

 

Example

 

>> Show the zoom box at x=10,y=10, x=100, y=100

 

var chart = new EJSC.Chart("chart",

       {

               axis_bottom: {

                       min_extreme: 0,

                       max_extreme: 200

               },

               axis_left: {

                       min_extreme: 0,

                       max_extreme: 2000

               }

       }

);

chart.showZoomBox(10, 200, "bottom", 100, 100, "left");