ChartDirector 6.2 (.NET Edition)

FinanceChart.setLegendStyle


Usage

[C#] public void setLegendStyle(string font, double fontSize, int fontColor, int bgColor);
[VB] Public Sub setLegendStyle(font As String, fontSize As Double, fontColor As Integer, bgColor As Integer)

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