TiPlotObject.Name

TiPlotObject See Also

Specifies the plot object's name.

property Name : String;

Description

Use Name to set the Plot Object's name. This name can then be used to reference the object. There are no restrictions on the length of the name or the characters used.

Note: modifying this property may affect other plot object properties that depend on the old name of this plot object. For example, if you change then name XAxis #1 (Index 0), you will need to update the GridXAxisName property of the DataView object with the new X-Axis name.

Example

Delphi

iComponent.XAxis[0].Name := 'X-Axis 1';

iComponent.DataView[0].GridXAxisName := iComponent.XAxis[0].Name;

iComponent.Channel[0].Name := 'Channel 1';

iComponent.Annotation[0].ChannelName := iComponent.Channel[0].Name;

C++ Builder

iComponent->XAxis[0]->Name = "Y-Axis 1";

iComponent->DataView[0]->GridYAxisName = iComponent->YAxis[0]->Name;

iComponent->Channel[0]->Name = "Channel 1";

iComponent->Annotation[0]->ChannelName = iComponent->Channel[0]->Name;

Contents | Index | Previous | Next