TiPlotComponent.GetXAxisIndexByName
TiPlotComponent See Also
Used to get the index of a X-Axis object by name.
function GetXAxisIndexByName(Value : String) : Integer;
Description
Use the GetXAxisIndexByName method to get the index of a X-Axis object by
name. If more than one X-Axis object has the same name, the index of the first
X-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.GetXAxisIndexByName('X-Axis 1');
C++ Builder
Index = iComponent->GetXAxisIndexByName("X-Axis 1");
Contents | Index | Previous | Next