Page tree
Skip to end of metadata
Go to start of metadata

Description

A DataPoint object represents a data point in a chart. To return a DataPoint object, use Series[i].

C#
vb.net

Remarks

The DataPoint class extends ChartRegion.

This class allows you to alter everything that has to do with an individual data point, ranging from the label to the marker. For most of these properties, there is a direct correspondence to some other property, either in the Series or in the Series.SettingsPieDoughnut, which affects all the data points. Any specifications on an individual data point will take precedence over specifications on the series.

Properties

Name

Description

DistanceFromCenter

Sets or returns the distance from the center of a pie chart as a percentage of the diameter.

Interior

Returns a ChartInterior object, representing the area of a data point.

IsOnSecondaryPieorBar

Sets or returns whether this data point is located on the secondary pie or bar in a Pie of Pie or Bar of Pie chart. For this to take effect, you must set SettingsPieDoughnut.BopPopSplit to Custom.

Label

Returns the SeriesDataLabel object for the data point.

LegendEntryFont

Sets or returns the Font for this DataPoint's legend entry.

Line

Returns a ChartLine object representing either the border around this data point - for most chart types - or the data point line itself, for line, scatter, and wire-frame radar charts.

Marker

Returns a DataPointMarker object, representing the data marker of a point on a line, radar, or scatter series.

ShowLegendEntry

Sets or returns whether the entry in the legend for this series will be shown. This only applies when the series contains a single data point, as in pie charts.
  • No labels