TiPlotComponent.RemoveAllLegends
TiPlotComponent See Also
Removes all legend objects.
procedure RemoveAllLegends;
Description
Call RemoveAllDataViews to remove all legend objects. To delete a specific
legend object, call DeleteLegend.
Currently, only one legend object is supported at this time and the multiple
legend interface is for future expansion. The LegendCount, AddLegend,
DeleteLegend, and RemoveAllLegends are reserved for property editors at this time. Always
use an Index of zero when accessing the legend.
Example
Delphi
iComponent.RemoveAllLegends;
C++ Builder
iComponent->RemoveAllLegends();
Contents | Index | Previous | Next