This class provides the functionality for the chart's border skins.
Drawing attributes of the 3D border skin.
Visual Basic (Declaration) | |
---|---|
Public Class BorderSkinAttributes |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public class BorderSkinAttributes |
This class provides border skins for the Chart control, and is exposed using the BorderSkin property of the root Chart object.
Border skins affect how the chart picture's border is drawn.
There are two types of skins: those with frames and those without frames. Skins without frames only effect the shape of the chart's border, while frame skins not only effect the shape of the border but also provide a frame (of a pre-determined width) that can have its own color, background image, etc. For example, in the following diagram the first and last chart images use non-frame skins, while the middle chart image uses a frame border skin.
Figure 1: Frame versus non-frame border skins.
Skin styles that use frames will display the chart title differently. Borders with a "thin" frame (e.g. BorderSkinStyle.FrameThin1) display the chart title beneath the top-horizontal section of the frame. Thick frames (e.g. BorderSkinStyle.FrameTitle1), however, will display the chart title within the top-horizontal section of the frame.
The style of skins (and whether they are used at all) is determined by the SkinStyle property, which defaults to BorderSkinStyle.None.
Skins that use frames can have numerous frame properties set (e.g. use gradient colors, display a background image, etc.) using the FrameXXX properties.
When a border skin with a rounded border is used, there is a small background area exposed. The color of this region is controlled by the PageColor property.
System.Object
Dundas.Charting.WinControl.BorderSkinAttributes
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family