ChartDirector Ver 3.1 (PHP Edition Edition)

Sector.setLabelStyle


Usage

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

Description

Set 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. You may use the methods of this object to fine-tune the appearance of the sector label.