EJSC.AnalogGaugeSeries

               

Hierarchy                Properties                Methods                Events

Top  Previous  Next

EJSC.AnalogGaugeSeries

 

The AnalogGaugeSeries is rendered as a circular (or semi-circular) gauge with a needle directed towards the current value stored in its EJSC.GaugePoint.

 

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

 

Constructor

 

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

 

Example

 

var myAnalogGaugeSeries = new EJSC.AnalogGaugeSeries(

               new EJSC.ArrayDataHandler([[50,"Gauge Value"]]),

               { title: "New Analog Gauge Series" }

);

 

 

Defining Properties and Events

 

AnalogGaugeSeries 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.AnalogGaugeSeries(new EJSC.ArrayDataHandler([[50,"Gauge Value"]]));

               mySeries.title = "New Analog Gauge Series";

               mySeries.min = 0;

               mySeries.max = 100;

 

Setting properties in batch

 

               var mySeries = new EJSC.AnalogGaugeSeries(

                               new EJSC.ArrayDataHandler([[50,"Gauge Value"]]),

                               { title: "New Analog Gauge Series", min: 0, max: 100 }

               );