ILNumerics Ultimate VS

BarPlotUseLighting Property

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
Determines, if the bar plot utilizes lighting. Default: Auto (null, light for flat bar plots, no light for 3D bar plots)

[ILNumerics Drawing2 Toolbox]

Namespace:  ILNumerics.Drawing.Plotting
Assembly:  ILNumerics.Toolboxes.Drawing2 (in ILNumerics.Toolboxes.Drawing2.dll) Version: 5.5.0.0 (5.5.7503.3146)
Syntax

public Nullable<bool> UseLighting { get; set; }

Property Value

Type: NullableBoolean
Remarks

By default, BarPlot utilizes lighting for 2D bars only. Light gives the bars a highlighting effect and improves the niceness of the bars. However, since BarPlot focusses on fast rendering, such lighting brings certain limitations for sophisticated 3D bars (Draw3D). In order to achieve good performance, such 3D bars are not optimized for perfect lighting. Hence, lighting is disabled for BarPlot in 3D mode by default.

One can overwrite this default behavior by assigning an explicit boolean value to UseLighting. This affects all bars, regardless if rendered in 2D or 3D mode.

See BarPlotEx for creating bar plots which focus on nice colors and lighting in 3D mode.

[ILNumerics Drawing2 Toolbox]

See Also

Reference