Sets the item string data of the graph.
[Visual Basic]
Public Sub SetItemText( _
ByVal itemIndex As Integer, _
ByVal itemText As String, _
ByVal update As Boolean _
)
[C#]
public void SetItemText(
int itemIndex,
string itemText,
bool update
);
Parameters
-
itemIndex
- Item index.
-
itemText
- Item string.
-
update
- Value that indicates whether the display panel is updated.
Example
How to set the value data and the item string data of each series and update the display panel finally.
awGraph1.SetValue(itemIndex, 0, 50F, False)
awGraph1.SetValue(itemIndex, 1, 0F, False)
awGraph1.SetValue(itemIndex, 2, -50F, False)
awGraph1.SetItemText(itemIndex, "XXXXX", False)
awGraph1.UpdateDisplayPanel()
awGraph1.SetValue(itemIndex, 0, 50F, false);
awGraph1.SetValue(itemIndex, 1, 0F, false);
awGraph1.SetValue(itemIndex, 2, -50F, false);
awGraph1.SetItemText(itemIndex, "XXXXX", false);
awGraph1.UpdateDisplayPanel();
See Also
AwGraph Class | Asterworld.Graph Namespace