Widgets » Documentation

Virtually every value of the software can be set as defaults or can be changed or added to on the fly through your calling program.

Where applicable, values should be passed as arrays if more than one series is being provided.

Change the Image Height - Number
$newitem-> setOutputImageHeight($image_height);

Change the Image Width - Number
$newitem-> setOutputImageWidth($image_width);

Set the Title - String
$newitem-> setTitle($title);

Set the Color - String RRGGBB
$newitem-> setColor($color);

Set the Colors for Gauge and Tuner - array("RRGGBB","RRGGBB")
$newitem-> setColor($color);

Set the Angle for Gauge - array(60, 120, 180)
$newitem-> setAngle($angle);

Set the Segments for Tuner - array(25, 50, 25) adding to 100
$newitem-> setSegment($segment);

Set the Value - Numeric
$newitem-> setValue($value);

Set the Bottom Range Value (Gauge only) - Numeric
$newitem-> setRangeBottom($range);

Set the Top Range Value (Gauge only) - Numeric
$newitem-> setRangeTop($range);

Set the Range Value (Thermometer and Tuner only) - Numeric
$newitem-> setRange($range);

Set the Label - String
$newitem-> setLabel($label);