The lights in the 3D world are making the scene visible. The 3D chart allows you define different light sources to illuminate the scene. This can be done through the Lights collection of the chart. The collection holds objects of type System.Media.Media3D.Light. The WPF framework provides several built-in lights which you can use – AmbientLight, DirectionalLight, PointLight and SpotLight. You can read more about them in the 3-D Graphics Overview MSDN article.
Example 1: Adding lights in the chart using XAML
<telerik:RadCartesianChart3D.Lights> <DirectionalLight /> </telerik:RadCartesianChart3D.Lights>
Example 2: Adding lights in the chart in code
The chart uses default lights to illuminate the scene. Adding items in the Lights collection will override the default lighting.
When using the chart's CameraBehavior3D the direction of the lights is determined by the camera position. You can find more information about this in the Camera Behavior article.