Visual Basic (Declaration) | |
---|---|
Public Function New( _ ByVal seriesType As Type, _ ByVal viewType As ChartViewType _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim seriesType As Type Dim viewType As ChartViewType Dim instance As New SpreadChart(seriesType, viewType) |
C# | |
---|---|
public SpreadChart( Type seriesType, ChartViewType viewType ) |
Parameters
- seriesType
- Type of the series.
- viewType
- Type of the view.
The seriesType parameter indicates which type of chart will be added. The viewType parameter is the view type of the chart (2D or 3D).
This example creates a chart.
C# | Copy Code |
---|---|
FarPoint.Win.Spread.Chart.SpreadChart chart = new FarPoint.Win.Spread.Chart.SpreadChart(typeof(FarPoint.Win.Chart.BarSeries),FarPoint.Win.Chart.ChartViewType.View2D); |
Visual Basic | Copy Code |
---|---|
Dim chart As New FarPoint.Win.Spread.Chart.SpreadChart(GetType(FarPoint.Win.Chart.BarSeries), FarPoint.Win.Chart.ChartViewType.View2D) |
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