ChartDirector 7.0 (Java Edition)

PieChart.setLabelStyle


Usage

public TextBox setLabelStyle([ String font [, double fontSize [, int 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.