| Visual Basic (Declaration) | |
|---|---|
Public Function New( _ ByVal seriesType As Type _ )  | |
| Visual Basic (Usage) |  Copy Code | 
|---|---|
Dim seriesType As Type Dim instance As New SpreadChart(seriesType)  | |
| C# | |
|---|---|
public SpreadChart( Type seriesType )  | |
Parameters
- seriesType
 - Type of the series.
 
The seriesType parameter indicates which type of chart will be added.
            
            This example creates a chart.
             
            
            | C# |  Copy Code | 
|---|---|
Dim chart As New FarPoint.Win.Spread.Chart.SpreadChart(GetType(FarPoint.Win.Chart.ClusteredBarSeries))
'set the chart properties ��.
FpSpread1.Sheets(0).Charts.Add(chart) | |
| Visual Basic |  Copy Code | 
|---|---|
Dim chart As New FarPoint.Win.Spread.Chart.SpreadChart(GetType(FarPoint.Win.Chart.ClusteredBarSeries)) 'set the chart properties ��. FpSpread1.Sheets(0).Charts.Add(chart)  | |
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8