GRADIENT_

Used to get an array of colours and setpoints for use with the GradientColourRGB functioin.

Parameters

Property Name: The name of the property with a defined gradient.

Example

If you wanted to use the ARDI colour coding to respond to a value changing, you could use the following code….

connection.Subscribe("[PX_Temperature]",function (val) {
		var clr = GradientColourRGB(val/100,[GRADIENT_Temperature]);				
		$('#myobject').css('fill',clr);	
	});