TiPlotAxis.CursorScaler

TiPlotAxis

Specifies the desired scaler for the cursor associated with this axis scale

property CursorScaler : Double;

Description

Use CursorScaler to get or set the desired scaler for the cursor associated with this axis scale.

CursorScaler is only used with cursors that have their Style property set to InverseDeltaX, typically used for frequency calculations. The Scaler is a multiplier used to convert this axis' units to seconds format so that the cursor can properly display the frequency calculation.

For example, if the axis units are ms (milliseconds or 1/1,000th of a second), then you would need to set the Scaler to 1,000 to convert from ms to seconds. If the units are µs (microseconds or 1/1,000,000th of a second), then the Scaler should be set to 1,000,000 to convert from µs to seconds. If your units are already in seconds on this axis, then you should set the Scaler to 1.

Example

Delphi

iComponent.XAxis[0].CursorScaler := 1000;

iComponent.YAxis[0].CursorScaler := 1000;

C++ Builder

iComponent->XAxis[0]->CursorScaler = 1000;

iComponent->YAxis[0]->CursorScaler = 1000;

Contents | Index | Previous | Next