dotnetCHARTING Send comments on this topic.
DefaultSeries Property
See Also  Example
dotnetCHARTING Namespace > Chart Class : DefaultSeries Property


Gets or sets a Series object whose properties will trickle to all other series on the chart unless otherwise specified.

Syntax

Visual Basic (Declaration) 
Public Property DefaultSeries As Series
Visual Basic (Usage)Copy Code
Dim instance As Chart
Dim value As Series
 
instance.DefaultSeries = value
 
value = instance.DefaultSeries
C# 
public Series DefaultSeries {get; set;}

Example

C#Copy Code
Chart.DefaultSeries.Type = SeriesType.AreaLine;
    
Visual BasicCopy Code
Chart.DefaultSeries.Type = SeriesType.AreaLine

See Also

© 2010 All Rights Reserved.