DataPointCustomProperties DataPointCustomProperties DataPointCustomProperties DataPointCustomProperties Class

Definition

Defines custom properties that are common to data points, series and empty points.

public ref class DataPointCustomProperties : System::Windows::Forms::DataVisualization::Charting::ChartNamedElement
[System.ComponentModel.TypeConverter("System.Windows.Forms.Design.DataVisualization.Charting.DataPointCustomPropertiesConverter, System.Windows.Forms.DataVisualization.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35")]
public class DataPointCustomProperties : System.Windows.Forms.DataVisualization.Charting.ChartNamedElement
type DataPointCustomProperties = class
    inherit ChartNamedElement
Public Class DataPointCustomProperties
Inherits ChartNamedElement
Inheritance
DataPointCustomPropertiesDataPointCustomPropertiesDataPointCustomPropertiesDataPointCustomProperties
Derived
Attributes

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

Initializes a new instance of the DataPointCustomProperties class.

DataPointCustomProperties(Series, Boolean) DataPointCustomProperties(Series, Boolean) DataPointCustomProperties(Series, Boolean) DataPointCustomProperties(Series, Boolean)

Initializes a new instance of the DataPointCustomProperties class with the specified series and custom properties flag.

Properties

AxisLabel AxisLabel AxisLabel 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 BackGradientStyle BackGradientStyle BackGradientStyle

Gets or sets the background gradient style.

BackHatchStyle BackHatchStyle BackHatchStyle BackHatchStyle

Gets or sets the background hatching style.

BackImage BackImage BackImage BackImage

Gets or sets the background image of the data point.

BackImageAlignment BackImageAlignment BackImageAlignment BackImageAlignment

Gets or sets the alignment of the background image, which is used with the Unscaled drawing mode.

BackImageTransparentColor BackImageTransparentColor BackImageTransparentColor BackImageTransparentColor

Gets or sets a color that will be replaced with a transparent color when the background image is drawn.

BackImageWrapMode BackImageWrapMode BackImageWrapMode BackImageWrapMode

Gets or sets the drawing mode of the background image.

BackSecondaryColor BackSecondaryColor BackSecondaryColor BackSecondaryColor

Gets or sets the secondary background color.

BorderColor BorderColor BorderColor BorderColor

Gets or sets the border color of the data point.

BorderDashStyle BorderDashStyle BorderDashStyle BorderDashStyle

Gets or sets the border style of the data point.

BorderWidth BorderWidth BorderWidth BorderWidth

Gets or sets the border width of the data point.

Color Color Color Color

Gets or sets the color of the data point.

CustomProperties CustomProperties CustomProperties 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 CustomPropertiesExtended CustomPropertiesExtended CustomPropertiesExtended

Gets or sets the extended custom properties of the data point. Extended custom properties can be specified in the following format: AttrName1=Value1, AttrName2=Value2...

Font Font Font Font

Gets or sets the font of the data point.

IsValueShownAsLabel IsValueShownAsLabel IsValueShownAsLabel IsValueShownAsLabel

Gets or sets a flag that indicates whether to show the value of the data point on the label.

IsVisibleInLegend IsVisibleInLegend IsVisibleInLegend IsVisibleInLegend

Gets or sets a flag that indicates whether the item is shown in the legend.

Item[Int32] Item[Int32] Item[Int32] Item[Int32]

Gets the DataPointCustomProperties object by its position in the index.

Item[String] Item[String] Item[String] Item[String]

Gets or sets the DataPointCustomProperties object by name.

Label Label Label Label

Gets or sets the text of the data point label.

LabelAngle LabelAngle LabelAngle LabelAngle

Gets or sets the angle of the data point label.

LabelBackColor LabelBackColor LabelBackColor LabelBackColor

Gets or sets the background color of the data point label.

LabelBorderColor LabelBorderColor LabelBorderColor LabelBorderColor

Gets or sets the border color of the data point label.

LabelBorderDashStyle LabelBorderDashStyle LabelBorderDashStyle LabelBorderDashStyle

Gets or sets the border style of the label.

LabelBorderWidth LabelBorderWidth LabelBorderWidth LabelBorderWidth

Gets or sets the border width of the label.

LabelForeColor LabelForeColor LabelForeColor LabelForeColor

Gets or sets the text color of the label.

LabelFormat LabelFormat LabelFormat LabelFormat

Gets or sets the format of the data point label.

LabelToolTip LabelToolTip LabelToolTip LabelToolTip

Gets or sets the tooltip for the data point label.

LegendText LegendText LegendText LegendText

Gets or sets the text of the item in the legend.

LegendToolTip LegendToolTip LegendToolTip LegendToolTip

Gets or sets the tooltip of the item in the legend.

MarkerBorderColor MarkerBorderColor MarkerBorderColor MarkerBorderColor

Gets or sets the border color of the marker.

MarkerBorderWidth MarkerBorderWidth MarkerBorderWidth MarkerBorderWidth

Gets or sets the border width of the marker.

MarkerColor MarkerColor MarkerColor MarkerColor

Gets or sets the marker color.

MarkerImage MarkerImage MarkerImage MarkerImage

Gets or sets the marker image.

MarkerImageTransparentColor MarkerImageTransparentColor MarkerImageTransparentColor MarkerImageTransparentColor

Gets or sets the color that will be replaced with a transparent color when the marker image is drawn.

MarkerSize MarkerSize MarkerSize MarkerSize

Gets or sets the size of the marker.

MarkerStyle MarkerStyle MarkerStyle MarkerStyle

Gets or sets the marker style.

Name Name Name Name

Gets or sets the name of the chart element.

(Inherited from ChartNamedElement)
Tag Tag Tag Tag

Gets or sets an object associated with this chart element.

(Inherited from ChartElement)
ToolTip ToolTip ToolTip ToolTip

Gets or sets the tooltip.

Methods

DeleteCustomProperty(String) DeleteCustomProperty(String) DeleteCustomProperty(String) DeleteCustomProperty(String)

Deletes the data point custom property with the specified name.

Dispose() Dispose() Dispose() Dispose()

Releases the resources used by the ChartElement.

(Inherited from ChartElement)
Dispose(Boolean) Dispose(Boolean) Dispose(Boolean) Dispose(Boolean)

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

(Inherited from ChartElement)
Equals(Object) Equals(Object) Equals(Object) Equals(Object)

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

(Inherited from ChartElement)
GetCustomProperty(String) GetCustomProperty(String) GetCustomProperty(String) GetCustomProperty(String)

Returns the data point custom property with the specified name.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Returns a hash function for a particular type.

(Inherited from ChartElement)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
IsCustomPropertySet(String) IsCustomPropertySet(String) IsCustomPropertySet(String) IsCustomPropertySet(String)

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

MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ResetIsValueShownAsLabel() ResetIsValueShownAsLabel() ResetIsValueShownAsLabel() ResetIsValueShownAsLabel()

Resets a custom property to its default value.

ResetIsVisibleInLegend() ResetIsVisibleInLegend() ResetIsVisibleInLegend() ResetIsVisibleInLegend()

Resets a custom property to its default value.

SetCustomProperty(String, String) SetCustomProperty(String, String) SetCustomProperty(String, String) SetCustomProperty(String, String)

Sets a custom property of the data point.

SetDefault(Boolean) SetDefault(Boolean) SetDefault(Boolean) SetDefault(Boolean)

Sets the default properties of the data point. Indicates whether the previous property values must be cleared.

ToString() ToString() ToString() ToString()

Returns a string that represents the current Object.

(Inherited from ChartElement)

Applies to