ChartDirector Ver 4.1 (C++ Edition)

FinanceChart.setLegendStyle


Usage

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

Description

Sets legend style. The default is using Arial 8 pt black color as font on a semi-transparent pale blue 80CCCCFF 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