ChartDirector 7.1 (.NET Edition)

BaseChart.setRoundedFrame


Usage

[C#]public void setRoundedFrame([ int extColor [, int r1 [, int r2 [, int r3 [, int r4 ]]]]]);
[VB]Public Sub setRoundedFrame([ extColor As Integer [, r1 As Integer [, r2 As Integer [, r3 As Integer [, r4 As Integer ]]]]])

Description

Sets the border style of the chart to rounded corners.

The underlying drawing surface for a chart is always rectangular. When rounded corners are used, part of the drawing surface (the regions external to the rounded corners) will be outside the chart border. The extColor argument specifies the color to be used for the external regions. Typically, it is set to the same color as the background the container that will be hosting the chart.

For example, in a web page, the extColor may be set to the same color as the web page background.

Arguments

ArgumentDefaultDescription
extColorFFFFFFThe exterior background color.
r110The radius of the top-left rounded corner in pixels.
r2-1The radius of the top-right rounded corner in pixels. -1 means it is the same as the radius of the top-left corner.
r3-1The radius of the bottom-right rounded corner in pixels. -1 means it is the same as the radius of the top-left corner.
r4-1The radius of the bottom-left rounded corner in pixels. -1 means it is the same as the radius of the top-left corner.

Return Value

None