DataPointCustomProperties 类

定义

表示定义数据点、序列和空点所共有的自定义属性。Represents the custom properties that are common to data points, series and empty points.

public ref class DataPointCustomProperties : System::Web::UI::DataVisualization::Charting::ChartNamedElement, System::Web::UI::DataVisualization::Charting::IChartMapArea
[System.ComponentModel.TypeConverter("System.Web.UI.Design.DataVisualization.Charting.DataPointCustomPropertiesConverter, System.Web.DataVisualization.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35")]
public class DataPointCustomProperties : System.Web.UI.DataVisualization.Charting.ChartNamedElement, System.Web.UI.DataVisualization.Charting.IChartMapArea
type DataPointCustomProperties = class
    inherit ChartNamedElement
    interface IChartMapArea
Public Class DataPointCustomProperties
Inherits ChartNamedElement
Implements IChartMapArea
继承
DataPointCustomProperties
派生
属性
实现

注解

此类定义自定义属性, 如颜色、背景图像和阴影等的使用。This class defines custom properties such as colors, the use of background images, hatching, and so forth.

类、 DataPoint类和EmptyPointStyle属性都是从此类派生的。 SeriesThe Series class, DataPoint class and the EmptyPointStyle property are all derived from this class.

构造函数

DataPointCustomProperties()

初始化 DataPointCustomProperties 类的新实例。Initializes a new instance of the DataPointCustomProperties class.

DataPointCustomProperties(Series, Boolean)

初始化 DataPointCustomProperties 类的新实例。Initializes a new instance of the DataPointCustomProperties class.

属性

AxisLabel

获取或设置数据点、序列或空点的 X 轴标签的文本。Gets or sets the text of the X-axis label for the data point, series or an empty point. 仅当尚未指定相关 Axis 对象的自定义标签时,才使用此属性。This property is only used if a custom label has not been specified for the relevant Axis object.

BackGradientStyle

获取或设置背景渐变样式。Gets or sets the background gradient style.

BackHatchStyle

获取或设置背景阴影样式。Gets or sets the background hatching style.

BackImage

获取或设置数据点的背景图像。Gets or sets the background image of the data point.

BackImageAlignment

获取或设置用于 Unscaled 绘制模式的背景图像对齐方式。Gets or sets the alignment of the background image, which is used with the Unscaled drawing mode.

BackImageTransparentColor

获取或设置在绘制背景图像时,将替换为透明色的颜色。Gets or sets a color that will be replaced with a transparent color when the background image is drawn.

BackImageWrapMode

获取或设置背景图像的绘制模式。Gets or sets the drawing mode of the background image.

BackSecondaryColor

获取或设置辅助背景色。Gets or sets the secondary background color.

BorderColor

获取或设置数据点的边框颜色。Gets or sets the border color of the data point.

BorderDashStyle

获取或设置数据点的边框样式。Gets or sets the border style of the data point.

BorderWidth

获取或设置数据点的边框宽度。Gets or sets the border width of the data point.

Color

获取或设置数据点的颜色。Gets or sets the color of the data point.

CustomProperties

获取或设置数据点的自定义属性。Gets or sets the custom properties of the data point. 可按以下格式指定自定义属性:AttrName1=Value1, AttrName2=Value2, ...Custom properties can be specified in the following format: AttrName1=Value1, AttrName2=Value2, ...

CustomPropertiesExtended

获取或设置数据点的扩展的自定义属性。Gets or sets the extended custom properties of the data point.

Font

获取或设置数据点的字体。Gets or sets the font of the data point.

IsValueShownAsLabel

获取或设置一个标志,该标志指示是否在标签上显示数据点的值。Gets or sets a flag that indicates whether to show the value of the data point on the label.

IsVisibleInLegend

获取或设置一个标志,该标志指示是否在图例中显示项。Gets or sets a flag that indicates whether the item is shown in the legend.

Item[Int32]

DataPointCustomProperties 对象在集合中的位置获取该对象。Gets the DataPointCustomProperties object by its position in the collection.

Item[String]

按名称获取或设置 DataPointCustomProperties 对象。Gets or sets the DataPointCustomProperties object by name.

Label

获取或设置数据点标签的文本。Gets or sets the text of the data point label.

LabelAngle

获取或设置数据点标签的角度。Gets or sets the angle of the data point label.

LabelBackColor

获取或设置数据点标签的背景色。Gets or sets the background color of the data point label.

LabelBorderColor

获取或设置数据点标签的边框颜色。Gets or sets the border color of the data point label.

LabelBorderDashStyle

获取或设置标签的边框样式。Gets or sets the border style of the label.

LabelBorderWidth

获取或设置标签边框的宽度。Gets or sets the width of the label border.

LabelForeColor

获取或设置标签的文本颜色。Gets or sets the text color of the label.

LabelFormat

获取或设置数据点标签的格式。Gets or sets the format of the data point label.

LabelMapAreaAttributes

获取或设置数据点标签的映射区特性。Gets or sets the map area attributes of the data point label.

LabelPostBackValue

获取或设置在发生 Click 事件时,可以处理的回发值。Gets or sets the postback value which can be processed on a Click event.

LabelToolTip

获取或设置数据点标签的工具提示。Gets or sets the tooltip for the data point label.

LabelUrl

获取或设置数据点标签的 URL 目标。Gets or sets the URL target of the data point label.

LegendMapAreaAttributes

获取或设置图例映射区的特性。Gets or sets the attributes of the legend map area.

LegendPostBackValue

获取或设置在发生 Click 事件时,可以处理的回发值。Gets or sets the postback value which can be processed on a Click event.

LegendText

获取或设置图例中项的文本。Gets or sets the text of the item in the legend.

LegendToolTip

获取或设置图例中项的工具提示。Gets or sets the tooltip of the item in the legend.

LegendUrl

获取或设置图例中项的 URL 目标。Gets or sets the URL target of the item in the legend.

MapAreaAttributes

获取或设置数据点的映射区特性。Gets or sets the map area attributes of a data point.

MarkerBorderColor

获取或设置标记的边框颜色。Gets or sets the border color of the marker.

MarkerBorderWidth

获取或设置标记的边框宽度。Gets or sets the border width of the marker.

MarkerColor

获取或设置标记颜色。Gets or sets the marker color.

MarkerImage

获取或设置标记图像。Gets or sets the marker image.

MarkerImageTransparentColor

获取或设置在绘制标记图像时,将替换为透明色的颜色。Gets or sets the color that will be replaced with a transparent color when the marker image is drawn.

MarkerSize

获取或设置标记的大小。Gets or sets the size of the marker.

MarkerStyle

获取或设置标记样式。Gets or sets the marker style.

Name

获取或设置图表元素的名称。Gets or sets the name of the chart element.

(继承自 ChartNamedElement)
PostBackValue

获取或设置在发生 Click 事件时,可以处理的回发值。Gets or sets the postback value that can be processed on a Click event.

Tag

获取或设置与此图表元素关联的对象。Gets or sets an object associated with this chart element.

(继承自 ChartElement)
ToolTip

获取或设置数据点的工具提示。Gets or sets the tooltip of the data point.

Url

获取或设置区域的 URL 目标。Gets or sets the URL target of the area.

方法

DeleteCustomProperty(String)

删除具有指定名称的数据点自定义属性。Deletes the data point custom property with the specified name.

Dispose()

释放由 ChartElement 占用的资源。Releases the resources used by the ChartElement.

(继承自 ChartElement)
Dispose(Boolean)

释放由 ChartElement 占用的非托管资源,还可以另外再释放托管资源。Releases the unmanaged resources used by the ChartElement and optionally releases the managed resources.

(继承自 ChartElement)
Equals(Object)

确定指定的 Object 是否等同于当前的 ChartElementDetermines whether the specified Object is equal to the current ChartElement.

(继承自 ChartElement)
GetCustomProperty(String)

返回具有指定名称的数据点自定义属性。Returns the data point custom property with the specified name.

GetHashCode()

返回特定类型的哈希算法。Returns a hash function for a particular type.

(继承自 ChartElement)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
IsCustomPropertySet(String)

确定是否已设置具有指定名称的自定义属性。Determines whether a custom property with the specified name was set.

MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ResetIsValueShownAsLabel()

IsValueShownAsLabel 属性重置为其默认值。Resets the IsValueShownAsLabel property to its default value.

ResetIsVisibleInLegend()

IsVisibleInLegend 属性重置为其默认值。Resets the IsVisibleInLegend property to its default value.

SetCustomProperty(String, String)

设置数据点的自定义属性。Sets a custom property of the data point.

SetDefault(Boolean)

设置数据点的默认属性。Sets the default properties of the data point. 指示是否必须清除以前的属性值。Indicates whether the previous property values must be cleared.

ToString()

返回表示当前 Object 的字符串。Returns a string that represents the current Object.

(继承自 ChartElement)

适用于