Nevron .NET Vision
Nevron.Chart Namespace / NDataBindingManager Class / AddBinding Method
the index of the chart that contains the data series
the index of the series that contains the data series
the name of the property that exposes the data series
the data source (DataTable, DataSet, DataView or DataAdapter)
the name of the column to bind to. In case of a DataSet use the "TableName.ColumnName" format.


In This Topic
    AddBinding Method
    In This Topic
    Binds a chart data series to a column in a data source.
    Syntax
    'Declaration
     
    
    Public Sub AddBinding( _
       ByVal chartIndex As System.Integer, _
       ByVal seriesIndex As System.Integer, _
       ByVal dataSeries As System.String, _
       ByVal dataSource As System.Object, _
       ByVal dataMember As System.String _
    ) 
    'Usage
     
    
    Dim instance As NDataBindingManager
    Dim chartIndex As System.Integer
    Dim seriesIndex As System.Integer
    Dim dataSeries As System.String
    Dim dataSource As System.Object
    Dim dataMember As System.String
     
    instance.AddBinding(chartIndex, seriesIndex, dataSeries, dataSource, dataMember)
    public void AddBinding( 
       System.int chartIndex,
       System.int seriesIndex,
       System.string dataSeries,
       System.object dataSource,
       System.string dataMember
    )

    Parameters

    chartIndex
    the index of the chart that contains the data series
    seriesIndex
    the index of the series that contains the data series
    dataSeries
    the name of the property that exposes the data series
    dataSource
    the data source (DataTable, DataSet, DataView or DataAdapter)
    dataMember
    the name of the column to bind to. In case of a DataSet use the "TableName.ColumnName" format.
    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