ChartDirector 7.1 (C++ Edition)

FinanceChart.setLegendStyle


Usage

void setLegendStyle(const char *font, double fontSize, int fontColor, int bgColor);

Description

Sets legend font style and background color. The default is Arial 8 pt black font on a semi-transparent light grey (80CCCCCC) background.

Arguments

ArgumentDefaultDescription
font(Mandatory)The font of the legend text.
fontSize(Mandatory)The font size of the legend text in points.
fontColor(Mandatory)The color of the legend text.
bgColor(Mandatory)The background color of the legend box.

Return Value

None