Version

ChartText Property (PieChartAppearance)

Collection of Chart Text labels rendered within the slices of the Pie Chart. Only applicable to a 2D Pie Chart.
Syntax
'Declaration
 
Public ReadOnly Property ChartText As ChartTextCollection
public ChartTextCollection ChartText {get;}
Remarks

Chart Text and Pie Labels each have their own uses, and differ in two key respects. Whereas the PieLabelAppearance class governs text labels appearing on the outside of the pie slices of a Pie Chart (optionally connected to slices by "leader lines"), the ChartText collection accepts ChartTextAppearance objects that each represent the style and content of an individual label appearing on one of the pie slices. Another difference is that Chart Text applies to most 2-D chart types, where as PieLabelAppearance only applies to Pie Charts.

Pie Charts normally render one row of data, so the Row of the chart text will typically be initialized to 0. The Column should be set to the column index of the pie slice (not necessarily the same as the slice number of the pie wedge). Developers must also set the Visible property to True for any chart text labels displayed.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also