ISeries.CalcXSizeValue
ISeries
function CalcXSizeValue(SomeValue: Double): Integer;
Type Library
TeeChartx
Description
Returns the pixel Screen Horizontal DIMENSION (or size) of the specified Value.
This coordinate is calculated using the Series associated Horizontal Axis.
CalcXSizeValue Method (Series) Example
We want to know how much Screen pixel size corresponds to a 12.1 X value:
Delphi
tmp := TChart1.Series[ 0 ].CalcXSizeValue( 12.1 ) ;
Visual Basic
tmp = TChart1.Series( 0 ).CalcXSizeValue(12.1)
That means tmp is the quantity of horizontal pixels an offset of 12.1 needs.