EJSC.AnalogGaugeSeries.lock

See Also: Using Colors

 

Definition

 

object lock = {

       color:                'rgb(0,0,0)' ,

       offset:                5 ,

       opacity:                100 ,

       size:                 6 ,

       visible:                false

}

 

Description

 

Defines the parameters for the "locks", or "pegs"  on the gauge.

 

Properties

 

string        color        – Defines the color of the locks.

integer        offset        – Defines the distance (in pixels) the needle is allow to extend past the min/max value.  Set to undefined to turn locks off.

integer        opacity        – Defines the opacity of the locks.

integer        size        – Defines the diameter (in pixels) of the locks.

boolean        visible        – Defines whether or not to visually show the locks.