TiPlotDataCursor.PointerPenWidth

TiPlotDataCursor

Specifies the pen width used when drawing the Data Cursor pointer.

property PointerPenWidth : Integer;

Description

Use PointerPenWidth to get or set the pen width used when drawing the Data Cursor pointer.

Note: for performance reasons and visibility of the data underneath the Data Cursor, the PointerPenWidth will revert to 1 pixel wide while dragging the cursor on the screen. When you let go of the mouse, the PointerPenWidth will return to the value you set here.

Tip: you should always specify an odd-number value for this property. This will ensure that the pointer is centered around the actual Data Cursor. Even values will be offset by one pixel from the true position of the Data Cursor.

Example

Delphi

iComponent.DataCursor[0].PointerPenWidth := 3;

C++ Builder

iComponent->DataCursor[0]->PointerPenWidth = 3;

Contents | Index | Previous | Next