THorizBarSeries.GetOriginPos

THorizBarSeries.GetOriginPos
THorizBarSeries

function GetOriginPos(ValueIndex: Integer): Integer;

Unit
Series

Description
The GetOriginPos function returns the corresponding screen pixels coordinate of the leftmost horizontal bar edge.

When MultiBar property is different than Stacked or Stacked 100%, this function returns the YOrigin screen coordinate.

When several bar Series are stacked, this function returns a different screen coordinate for each Series.

The ValueIndex parameter specifies the bar index.