MindFusion.Charting Programmer's Guide

PieChart.Data Property

See Also
 





Specifies the numerical data used for calculating the segments of the pie.

Namespace: MindFusion.Charting
Assembly: MindFusion.Charting

 Syntax

C#  Copy Code

public IList Data { get; set; }

Visual Basic  Copy Code

Public Property Data As IList

 Property Value

An object of type .NET IList class that holds a single array with numbers.

 Remarks

The property holds the data for the pie. The values can be either numbers or of any other type that can be parsed to numbers. Add the values directly to the property or assign to it a list that holds the data.

The data numbers can be cancelled - use the DivisionCoef and DivisionLabel properties to specify the divisor and the label that indicates the units of measure.

Default value for the Data property is an empty list.

 See Also