Spread Windows Forms 6.0 Product Documentation
SpreadChart Constructor(Type)
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.Chart Namespace > SpreadChart Class > SpreadChart Constructor : SpreadChart Constructor(Type)


seriesType
Type of the series.

Glossary Item Box

Initializes a new instance of the FarPoint.Win.Chart.FpChart class.

Syntax

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.

Remarks

The seriesType parameter indicates which type of chart will be added.

Example

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 BasicCopy 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)

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2002-2012 ComponentOne, a division of GrapeCity. All Rights Reserved.