Tech Tip: How to programmatically update a chart with 4D Chart
PRODUCT: 4D | VERSION: 6.5 | PLATFORM: Mac & Win
Published On: September 14, 2001
If you have a 4D Chart area as an object in an plug-in area, the following code will allow you to automatically update a chart programmatically,
CT SELECT (Field3;-1;1) `this selects the object in the area
$ID:=CT Get ID (Field3;0;1) `this retrieves the object ID
CT UPDATE CHART (Field3;$ID;1)