ChartDirector 7.1 (C++ Edition)

ContourLayer.setContourLabelStyle


Usage

TextBox* setContourLabelStyle(const char* font = "normal", double fontSize = 8, int fontColor = Chart::TextColor);

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.