ChartDirector 7.1 (.NET Edition)
BaseChart.setThickFrame
Usage
[C#] | public void setThickFrame(int thickness [, int frameColor [, int outerEdgeColor [, int innerEdgeColor ]]]); |
[VB] | Public Sub setThickFrame(thickness As Integer [, frameColor As Integer [, outerEdgeColor As Integer [, innerEdgeColor As Integer ]]]) |
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
Argument | Default | Description |
thickness | (Mandatory) | The frame thickness. |
frameColor | -1 | The frame color. The default value of -1 means the frame color is the same as the outer edge color. |
outerEdgeColor | -1 | The 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 | -1 | The inner edge color. The default value of -1 means the inner edge color is the same as the frame color. |
Return Value
None
© 2023 Advanced Software Engineering Limited. All rights reserved.