LegendCellColumn.ColumnType 属性
定义
获取或设置图例单元列的类型。Gets or sets the legend cell column type.
public:
virtual property System::Web::UI::DataVisualization::Charting::LegendCellColumnType ColumnType { System::Web::UI::DataVisualization::Charting::LegendCellColumnType get(); void set(System::Web::UI::DataVisualization::Charting::LegendCellColumnType value); };
public virtual System.Web.UI.DataVisualization.Charting.LegendCellColumnType ColumnType { get; set; }
member this.ColumnType : System.Web.UI.DataVisualization.Charting.LegendCellColumnType with get, set
Public Overridable Property ColumnType As LegendCellColumnType
属性值
一个 LegendCellColumnType 枚举值。A LegendCellColumnType enumeration value. 此值表示将用于定义图例单元列内容的类型。This value represents the type that will be used to define the legend cell column contents. 默认值是 Text。The default value is Text.
注解
此属性确定每个单独图例单元列中将显示的内容的类型。This property determines the type of content that will be displayed in each individual legend cell column. 有两个可能的值:There are two possible values:
Text:默认情况下,#LEGENDTEXT 关键字用于将 LegendText 值放入每个单元列。Text: By default, the #LEGENDTEXT keyword is used to place the LegendText value in each cell column. 但是,可以使用 Text 属性将任何关键字 (s) ,将替换为相应序列的值。However, you can use the Text property to set any keyword(s) that will be replaced by a value of the corresponding series.
SeriesSymbol:图例单元格将包含一个序列符号,如矩形、线条、带有标记的线条或标记,其填充颜色与相应的序列相同。SeriesSymbol: The legend cell will contain a series symbol, such as a rectangle, line, line with marker, or marker, of the same fill color as its corresponding series.