ChartDirector 5.1 (PHP Edition)

Sector.setLabelStyle


Usage

setLabelStyle([ font [, fontSize [, fontColor ]]])

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.