Skip to main content
Table of Contents

TTMSFNCBarChartSerie.YToValue Method

Converts a canvas y-coordinate to a data value using this series' y-scale.

API unit family: TMSFNCChart Declaring type: TTMSFNCBarChartSerie Inherited from: TTMSFNCChartSerie

Syntax

FMX.TMSFNCChart.hppPascalC++
function YToValue(AY: Double; APosition: Boolean = True): Double;
double __fastcall YToValue(double AY, bool APosition = true);

Parameters

Name Description
AY Canvas y-coordinate to convert.
APosition When True, applies axis position offset; pass False for raw scale conversion.

Returns

Returned value.