Table of Contents

TTMSFNCBarChartSerie.ValueToY Method

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

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

Syntax

function ValueToY(AValue: Double; APosition: Boolean = True): Double;

Parameters

Name Description
AValue Data value to convert.
APosition When True, applies axis position offset.

Returns

Returned value.