ChartDirector 6.2 (.NET Edition)
public void setRoundedFrame([ int extColor [, int r1 [, int r2 [, int r3 [, int r4 ]]]]]);
Public Sub setRoundedFrame([ extColor As Integer [, r1 As Integer [, r2 As Integer [, r3 As Integer [, r4 As Integer ]]]]])
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.
|extColor||FFFFFF||The exterior background color.|
|r1||10||The radius of the top-left rounded corner in pixels.|
|r2||-1||The radius of the top-right rounded corner in pixels. -1 means it is the same as the radius of the top-left corner.|
|r3||-1||The radius of the bottom-right rounded corner in pixels. -1 means it is the same as the radius of the top-left corner.|
|r4||-1||The radius of the bottom-left rounded corner in pixels. -1 means it is the same as the radius of the top-left corner.
© 2017 Advanced Software Engineering Limited. All rights reserved.