Dundas Chart for Windows Forms
ColumnType Property
See Also  Send comments on this topic.
DundasWinChart Assembly > Dundas.Charting.WinControl Namespace > LegendCellColumn Class : ColumnType Property


Gets or sets the legend cell column type.
Legend column type. This is only applicable to items that are automatically generated for the series.

Syntax

Visual Basic (Declaration)  
Public Overridable Property ColumnType As LegendCellColumnType
Visual Basic (Usage) Copy Code
Dim instance As LegendCellColumn
Dim value As LegendCellColumnType
 
instance.ColumnType = value
 
value = instance.ColumnType
C#  
public virtual LegendCellColumnType ColumnType {get; set;}

Return Value

An enumerated value of type LegendCellColumnType. Represents the type that will be used to define the legend cell column's contents. Defaults to LegendCellColumnType.Text.

Remarks

This property determines what types of content will be displayed in each individual legend cell. There are two possible values:

  1. Text: By default, the #LEGENDTEXT keyword is used to place the LegendText value in each cell column. However, you can use the Text property to set any keyword(s) that will be replaced by a value of the corresponding series. Refer to the Using Keywords topic for more information.
     
  2. SeriesSymbol: The legend cell will contain a series symbol (i.e. rectangle, line, line with marker, or marker) of the same fill color as its corresponding series.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2009 All Rights Reserved.