MindFusion.Wpf Pack Programmer's Guide
ChartForm Constructor (Worksheet, String, PlotBy, Int32, Int32, Nullable(Boolean), Nullable(Boolean))
See Also
 





Initializes a new instance of the ChartForm class.

Namespace: MindFusion.Spreadsheet.Wpf.StandardForms
Assembly: MindFusion.Spreadsheet.Wpf.StandardForms

 Syntax

C#  Copy Code

public ChartForm (
    Worksheet worksheet,
    string dataSource,
    PlotBy plotBy,
    int column,
    int row,
    Nullable<Boolean> firstColumnAsLabel,
    Nullable<Boolean> firstRowAsLabel
)

Visual Basic  Copy Code

Public New ( _
    worksheet As Worksheet, _
    dataSource As String, _
    plotBy As PlotBy, _
    column As Integer, _
    row As Integer, _
    firstColumnAsLabel As Nullable(Of Boolean), _
    firstRowAsLabel As Nullable(Of Boolean) _
)

 Parameters

worksheet

The parent Worksheet that will contain the created chart.

dataSource

A string specifying the data source for the chart.

plotBy

A flag specifying whether the series are created from the columns or from the rows in the specified range.

column

The column at which to place the newly created chart at.

row

The row at which to place the newly created chart at.

firstColumnAsLabel

A flag specifying whether to use the values in the first column of the specified range as labels, or null (Nothing in Visual Basic), to attempt to automatically determine this based on the type of the data. This parameter is ignored by some charts that do not display labels.

firstRowAsLabel

A flag specifying whether to use the values in the first row of the specified range as labels, or null (Nothing in Visual Basic), to attempt to automatically determine this based on the type of the data. This parameter is ignored by some charts that do not display labels.

 See Also

ChartForm Constructor Overload List
ChartForm Class
MindFusion.Spreadsheet.Wpf.StandardForms Namespace