ChartDirector 5.1 (PHP Edition)

FinanceChart.setLegendStyle


Usage

setLegendStyle(font, fontSize, fontColor, 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