TiPlotDataView.PositionPercentToPixelsY
TiPlotDataView
Used to convert a percent value on the vertical side of the DataView to a
pixel position.
function PositionPercentToPixelsY(Value : Double) : Integer;
Description
Call the PositionPercentToPixelsY method to convert a percent value on the
vertical side of the DataView to a pixel position.
The percent is a value representing the percent position on the vertical side
of the DataView. For example, a value of 50 would mean 50% of the vertical
side of the DataView, or a position on the DataView midway between top and bottom
of the DataView. Negative values mean positions outside of the DataView.
Example
Delphi
Value := iComponent.DataView[0].PositionPercentToPixelsY(20.5);
C++ Builder
Value = iComponent->DataView[0]->PositionPercentToPixelsY(20.5);
Contents | Index | Previous | Next