| Visual Basic (Declaration) | |
|---|---|
Public Property DataSource As Object | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| 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# | Copy Code |
|---|---|
Series mySeries = new Series(); | |
| Visual Basic | Copy Code |
|---|---|
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.