EJSC.FloatingBarSeries

               

Hierarchy                Properties                Methods                Events

Top  Previous  Next

EJSC.FloatingBarSeries

 

FloatingBarSeries renders its points as vertical or horizontal bars which are not fixed to a baseline.

 

The constructor expects an instantiated EJSC.DataHandler descendant and an optional set of object properties.

 

Constructor

 

               EJSC.FloatingBarSeries( EJSC.DataHandler dataHandler [, object options] )

 

Example

 

var mySeries = new EJSC.FloatingBarSeries(

               new EJSC.ArrayDataHandler([[1,1],[2,2],[3,3],[4,3],[5,2],[6,4]]),

               { title: "New Floating Bar Series" }

);

 

 

Defining Properties and Events

 

FloatingBarSeries 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.FloatingBarSeries(new EJSC.ArrayDataHandler([[1,1],[2,2],[3,3],[4,3],[5,2],[6,4]]));

               mySeries.lineWidth = 1;

               mySeries.title = "New Floating Bar Series";

 

Setting properties in batch

 

               var mySeries = new EJSC.FloatingBarSeries(

                               new EJSC.ArrayDataHandler([[1,1],[2,2],[3,3],[4,3],[5,2],[6,4]]),

                               { lineWidth: 1, title: "New Floating Bar Series" }

               );