ChartDirector 5.1 (PHP Edition)

PieChart.setLabelStyle


Usage

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

Description

Sets the style used to draw all sector labels.

This method affects all sectors. To set the label style for one particular sector only, use Sector.setLabelStyle.

See Font Specification for details on various font attributes.

Arguments

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

Return Value

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