In This Topic
The Chart control allows you to completely customize lighting options for 3D charts.
Lighting Effects in a 3D Chart
Directional Light Ratio
Using the DirectionalLightRatio property, you can control the directional or ambient intensity ratio.
Light Type
By setting the Type property to one of the enumerated LightType values, you can control the type of lighting used in the chart. The settings are as follows:
- Ambient:An ambient light source is used. It is equal to DirectionalLightRatio = 0.
- Directional:An infinite directional light source (like the sun, the light source having the same angle of incidence from each side) is used.
- Point:A point light source (light is generated from one point and light source having different angle of incidence according to the sides) is used.
Light Source
You can also set the Source property to a Point3d object, which controls the location of the light source.
See Also