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.WebForms
Assembly: MindFusion.Charting.WebForms

 Syntax

C#  Copy Code

public IList Data { get; }

Visual Basic  Copy Code

Public ReadOnly Property Data As IList

 Property Value

An object of type .NET IList that holds other lists 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