ChartDirector 7.0 (PHP Edition)

BaseChart.setThickFrame


Usage

setThickFrame(thickness [, frameColor [, outerEdgeColor [, innerEdgeColor ]]])

Description

Sets a thick frame around the chart.

The thick frame can have 3 colors for the frame itself, the outer edge and the inner edge.

In some applications, the frame color may be similar to the external background color. An common example is a "silver" frame (which is actually a light grey gradient) against a white background. In this case, the frame effect may look less than optimal. An outer edge of different color (such as darker grey) can often help to highlight the frame. Similarly, if the frame color is similar to the chart background, an inner edge of different color may help to improve the frame effect.

Arguments

ArgumentDefaultDescription
thickness(Mandatory)The frame thickness.
frameColor-1The frame color. The default value of -1 means the frame color is the same as the outer edge color.
outerEdgeColor-1The outer edge color. The default value of -1 means the outer edge color is the same as the current edge color, which can be set in the chart constructor or in BaseChart.setBackground.
innerEdgeColor-1The inner edge color. The default value of -1 means the inner edge color is the same as the frame color.

Return Value

None