DataPoint

Each value that has to be plotted on the chart is referred to as a DataPoint. Please refer to figure below:

 

datapoint.jpg

 

Usage:

 

<vc:Chart ... >

 

<vc:Chart.Series>

<vc:DataSeries>

<vc:DataSeries.DataPoints>

<vc:DataPoint ... />

<vc:DataPoint ... />

.

.

.

</vc:DataSeries.DataPoints>

</vc:DataSeries>

</vc:Chart.Series>

 

</vc:Chart>

 

List of attributes:

 

Attribute

Function

AxisXLabel

Sets the text that must appear in the axis for this DataPoint.

BorderColor

Sets the color for DataPoint border line.

BorderStyle

Sets the border line style.

BorderThickness

Sets the border line thickness.

Color

Sets the color of the DataPoint

Cursor

This attribute sets the pointer that displays when the user moves the mouse over an element.

Enabled

Enables or disables the DataPoint

Exploded

(Specific to Pie/Doughnut/Funnel Charts) To generate exploded charts. Takes values either True or False.

Href

Sets the hyper link (http:// is required).

HrefTarget

Sets where the URL specified in Href to be opened.

LabelAngle

Gets or Sets the rotation angle for DataPoint labels.

LabelBackground

Sets the background color for labels. Default is Transparent

LabelEnabled

Enables or disables labels.

LabelFontColor

Sets the color of the label text

LabelFontFamily

Sets the font for the label

LabelFontSize

Sets the font size of label text

LabelFontStyle

Sets the style for the text like "Italic" or "Normal"

LabelFontWeight

Sets how the font appears. It takes value like "Bold", "Normal", "Black" etc

LabelLineColor

(Specific to Pie/Doughnut). Sets the color of the line joining the label and Pie/Doughnut.

LabelLineEnabled

(Specific to Pie/Doughnut). Enables or disables the line joining the label and Pie/Doughnut.

LabelLineStyle

(Specific to Pie/Doughnut). Sets the style for the line joining the label and Pie/Doughnut.

LabelLineThickness

(Specific to Pie/Doughnut). Thickness of the line joining the label and Pie/Doughnut.

LabelStyle

Sets where the label should appear. Takes values like "Inside", "Outside".

LabelText

Sets the text that must appear in the labels.

LegendText

Sets the text that must appear in the legend.

LegendMarkerColor

Sets the legend marker color corresponding to a DataPoint.

LegendMarkerType

Sets the legend marker shape corresponding to a DataPoint.

LightingEnabled

Enables or disables lighting effect for DataPoint.

MarkerBorderColor

Sets the color for the marker border line.

MarkerBorderThickness

Sets the thickness of the marker border line.

MarkerColor

Sets the color of the marker.

MarkerEnabled

Enables or disables the marker.

MarkerScale

Sets the scaling value to increase or decrease the size of the marker.

MarkerSize

Sets the size of the marker in pixels.

MarkerType

Sets the shape of the marker takes values like "Circle", "Triangle", etc.

Opacity

Opacity can be used to make any element transparent or opaque.

RadiusX

Sets the parameter used to create rounded or elliptical corners for the element.

RadiusY

Sets the parameter used to create rounded or elliptical corners for the element.

Selected

Selected property defines the state whether a DataPoint is selected or not after user clicks on it.

ShowInLegend

Sets a value to indicate whether a DataPoint must appear in the Legend or not.

StickColor

Sets the color in high-low line of a CandleStick DataPoint.

ToolTipText

Sets the tool tip content for the DataPoint.

XValue

Sets the value that will appear on the X-Axis.

YValue

Sets the value that will appear on Y-Axis for all charts. In the case of Pie and Doughnut, the YValue will be considered for calculating the percentages.

YValues

(Specific to CandleStick and Stock charts). Gets or sets the list of double values, a Series object's DataPoint object can have.

ZValue

(Specific to Bubble). Used to calculate the size of the bubble.