|The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....|
|Home ChartPack RChart Class TRChart Methods ScaleItem|
|See also: ScaleAllItems, ScaleSelectedItems, SetItemParams|
The procedure ScaleItem transforms the position of the graphics element Item according to the following equations:
newx := oldx * kx + dx
The item is accessed via its index (parameter Item) into the DataContainer array. Normally this index is retrieved by other methods such as FindNearestItemReal. The parameters kx and ky could be set to zero values in order to simply shift the graphics item on the chart.