String[] header = new String[columnsModel.length]; for ( int i = 0; i < header.length; i++ ) { header[i] = columnsModel[i].getDisplayName( ); } return header;
return (String[]) list.toArray( new String[0] );
	public final String[] getPreviewHeader( ) throws ChartException	{		DataSetItemModel[] columnsModel = getPreviewHeaderModel( );		if ( columnsModel == null )		{			return null;		}		String[] header = new String[columnsModel.length];		for ( int i = 0; i < header.length; i++ )		{			header[i] = columnsModel[i].getDisplayName( );		}		return header;	}