Version

SetColumnLabels Method (DataAppearance)

Sets the String array that contains the column labels for this data source.
Syntax
'Declaration
 
Public Sub SetColumnLabels( _
   ByVal labelStrings() As String _
) 
public void SetColumnLabels( 
   string[] labelStrings
)

Parameters

labelStrings
An array of Strings which contain the ColumnLabels that the chart will use for each column of data in the DataSource.
Remarks

Be sure to pass in an array of strings with a count equal to the number of column of data.

If this is array is not null, the values will be use as labels for the Columns in the chart. If it is null, the chart will use the Column names from the DataSource as Column Labels.

To get the array, use GetColumnLabels.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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