EJSC.Axis.setExtremes

See Also

 

Definition

 

void setExtremes( float min, float max )

 

Description

 

Updates the manual extremes for the axis.  Use this method if the series data does not span the range to be displayed on the chart or to limit 100% zoom to a range smaller than the series data.

 

Example

 

>> Series data only spans 18 hours on the bottom axis but the chart needs to display an entire day

 

var myChart = new EJSC.Chart( "chart" );

myChart.axis_bottom.setExtremes( 0, 86400000 );