TiPlotComponent.GetYAxisIndexByName
TiPlotComponent See Also
Used to get the index of a Y-Axis object by name.
function GetYAxisIndexByName(Value : String) : Integer;
Description
Use the GetYAxisIndexByName method to get the index of a Y-Axis object by
name. If more than one Y-Axis object has the same name, the index of the first
Y-Axis object with a matching name will be returned. If a match is not found, then
-1 is returned. The search is case-insensitive.
Example
Delphi
Index := iComponent.GetYAxisIndexByName('Y-Axis 1');
C++ Builder
Index = iComponent->GetYAxisIndexByName("Y-Axis 1");
Contents | Index | Previous | Next