ChartDirector 7.1 (.NET Edition)

Sector.setLabelStyle


Usage

[C#]public ChartDirector.TextBox setLabelStyle([ string font [, double fontSize [, int fontColor ]]]);
[VB]Public Function setLabelStyle([ font As String [, fontSize As Double [, fontColor As Integer ]]]) As ChartDirector.TextBox

Description

Sets the style used to draw the sector label.

To set the label style for all sector labels, use PieChart.setLabelStyle.

See Font Specification for details on various font attributes.

Arguments

ArgumentDefaultDescription
font""The font used to draw the sector label.
fontSize8The font size in points.
fontColorTextColorThe text color for the sector label.

Return Value

A TextBox object representing the prototype of the sector label. This may be used to fine-tune the appearance of the sector label.