The component can generate images with transparent background and can dynamically modify the control styles when the component is placed in a Windows Forms application. This feature is controlled by modifying the TransparentBackground property of the Settings object attached to the control. By default, this property is set to false, but you can always change it at runtime:
VB.NET | |
---|---|
chartControl.Settings.TransparentBackground = True |
C# | |
---|---|
chartControl.Settings.TransparentBackground = true; |
This property also influences the image and SVG export generated by the component. When the control exports images and the resulting format supports an alpha channel, the area occupied by the background will be transparent. In the case of SVG export, the background is not rendered.