EJSC.Chart.setYExtremes

See Also

 

Definition

 

void setYExtremes( float y_min, float y_max )

 

Description

 

Updates the manual extremes for the y-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 10 to 80 percent but the range displayed should be 0 to 100

 

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

myChart.setYExtremes( 0, 100 );