Bewerken

Delen via


DataPointCustomProperties Class

Definition

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
[<System.ComponentModel.TypeConverter("System.Web.UI.Design.DataVisualization.Charting.DataPointCustomPropertiesConverter, System.Web.DataVisualization.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35")>]
type DataPointCustomProperties = class
    inherit ChartNamedElement
    interface IChartMapArea
Public Class DataPointCustomProperties
Inherits ChartNamedElement
Implements IChartMapArea
Inheritance
DataPointCustomProperties
Derived
Attributes
Implements

Remarks

This class defines custom properties such as colors, the use of background images, hatching, and so forth.

The Series class, DataPoint class and the EmptyPointStyle property are all derived from this class.

Constructors

DataPointCustomProperties()

Initializes a new instance of the DataPointCustomProperties class.

DataPointCustomProperties(Series, Boolean)

Initializes a new instance of the DataPointCustomProperties class.

Properties

AxisLabel

Gets or sets the text of the X-axis label for the data point, series or an empty point. 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

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. 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]

Gets the DataPointCustomProperties object by its position in the collection.

Item[String]

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

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

Gets or sets the URL target of the data point label.

LegendMapAreaAttributes

Gets or sets the attributes of the legend map area.

LegendPostBackValue

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

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.

(Inherited from ChartNamedElement)
PostBackValue

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.

(Inherited from ChartElement)
ToolTip

Gets or sets the tooltip of the data point.

Url

Gets or sets the URL target of the area.

Methods

DeleteCustomProperty(String)

Deletes the data point custom property with the specified name.

Dispose()

Releases the resources used by the ChartElement.

(Inherited from ChartElement)
Dispose(Boolean)

Releases the unmanaged resources used by the ChartElement and optionally releases the managed resources.

(Inherited from ChartElement)
Equals(Object)

Determines whether the specified Object is equal to the current ChartElement.

(Inherited from ChartElement)
GetCustomProperty(String)

Returns the data point custom property with the specified name.

GetHashCode()

Returns a hash function for a particular type.

(Inherited from ChartElement)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
IsCustomPropertySet(String)

Determines whether a custom property with the specified name was set.

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ResetIsValueShownAsLabel()

Resets the IsValueShownAsLabel property to its default value.

ResetIsVisibleInLegend()

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()

Returns a string that represents the current Object.

(Inherited from ChartElement)

Applies to