<< Click to Display Table of Contents >>
InsertColumn |
InsertColumn(Col, Index)
Inserts a new column on a Legend. This method contains the following parameters:
•Col: Identifies a column to insert (please check the Available options to identify a Legend column table at the beginning of topic Legend Methods)
•Index: Determines the position to insert this column
The next script contains an example of using this method.
Sub CommandButton1_Click()
'Displays the Pen's name
Screen.Item("E3Chart1").Legend.InsertColumn 0, 0
End Sub
Sub CommandButton1_Click()
'Displays the Pen's color
Screen.Item("E3Chart1").Legend.InsertColumn "Color", 0
End Sub