Spread Windows Forms 11.0 Product Documentation
SpreadChart Constructor(Type)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.Chart Namespace > SpreadChart Class > SpreadChart Constructor : SpreadChart Constructor(Type)
Type of the series.
Initializes a new instance of the FarPoint.Win.Chart.FpChart class.
Syntax
'Declaration
 
Public Function New( _
   ByVal seriesType As Type _
)
'Usage
 
Dim seriesType As Type
 
Dim instance As New SpreadChart(seriesType)
public SpreadChart( 
   Type seriesType
)

Parameters

seriesType
Type of the series.
Remarks
The seriesType parameter indicates which type of chart will be added.
Example
This example creates a chart.
Dim chart As New FarPoint.Win.Spread.Chart.SpreadChart(GetType(FarPoint.Win.Chart.ClusteredBarSeries))
'set the chart properties ��.
fpSpread1.Sheets(0).Charts.Add(chart)
Dim chart As New FarPoint.Win.Spread.Chart.SpreadChart(GetType(FarPoint.Win.Chart.ClusteredBarSeries))
'set the chart properties ��.
fpSpread1.Sheets(0).Charts.Add(chart)
See Also

Reference

SpreadChart Class
SpreadChart Members
Overload List