EJSC.Chart.setXExtremes
See Also
|
Definition
void setXExtremes( float x_min, float x_max )
Description
Updates the manual extremes for the x-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 but the chart needs to display an entire day
var myChart = new EJSC.Chart( "chart" ); myChart.setXExtremes( 0, 86400000 ); |