Visual Basic (Declaration) | |
---|---|
Public Property DataSource As Object |
Visual Basic (Usage) | ![]() |
---|---|
|
C# | |
---|---|
public object DataSource {get; set;} |
Instantiates a series and annotation. Sets the series as the DataSource of the annotation. Specifies the '%Name' series token as for the annotation's label. Adds the annotation to a chart.
C# | ![]() |
---|---|
Series mySeries = new Series(); |
Visual Basic | ![]() |
---|---|
Dim mySeries As New Series() |
Data sources include Element, Series, and AxisMarker objects. When the source is specified, any tokens associated with the source type may be used.