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


Gets or sets a Series object whose properties will trickle to all other series in this chart area unless otherwise specified.

Syntax

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

Example

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

See Also

© 2010 All Rights Reserved.