EJSC.OverUnderSeries

               

Hierarchy                Properties                Methods                Events

Top  Previous  Next

EJSC.OverUnderSeries

 

The OverUnderSeries is drawn as a fill between two LineSeries.  Different colors are used to tell which referenced series' Y values are higher at any given X position.

 

Constructor

 

               EJSC.OverUnderSeries( EJSC.Series baseSeries, EJSC.Series compareSeries, {object options} )

 

Example

 

var mySeries = new EJSC.OverUnderSeriesSeries(lineSeries1, lineSeries2 , {

               title: "New OverUnderSeries Series" 

} );

 

 

Defining Properties and Events

 

OverUnderSeries Series properties may be set individually after the series has been created or in batch using the options parameter during instantiation.

 

Setting properties individually

 

       var mySeries = new EJSC.OverUnderSeries(lineSeries1, lineSeries2);

       mySeries.exceed = {visible: false};

       mySeries.subcede = {visible: false};

       mySeries.title = "New OverUnderSeries Series";

 

Setting properties in batch

 

       var mySeries = new EJSC.OpenHighLowCloseSeries(lineSeries1, lineSeries2,{ 

                       exceed: {visible: false},

                       subcede: {visible: false},

                       title: "New OverUnderSeries Series" 

       } );