ChartDirector 7.0 (Java Edition)

ContourLayer.setContourLabelStyle


Usage

public TextBox setContourLabelStyle([ char font [, double fontSize [, int fontColor ]]])

Description

Enables contour labels and sets their styles.

Arguments

ArgumentDefaultDescription
font"normal"The font used to draw the labels.
fontSize8The font size used to draw the labels.
fontColorTextColorThe color used to draw the labels.

Return Value

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