Dundas Chart for ASP.NET
SuppressExceptions Property
See Also  Send comments on this topic.
Dundas.Charting.WebControl Namespace > Chart Class : SuppressExceptions Property


Gets or sets a boolean value that determines if non-critical exceptions should be suppressed.


Indicates that non-critical chart exceptions will be suppressed.

Syntax

Visual Basic (Declaration)  
Public Property SuppressExceptions As Boolean
Visual Basic (Usage) Copy Code
Dim instance As Chart
Dim value As Boolean
 
instance.SuppressExceptions = value
 
value = instance.SuppressExceptions
C#  
public bool SuppressExceptions {get; set;}

Return Value

True if non-critical exceptions should be suppressed, otherwise false. Defaults to false.

Remarks

Setting this property to true will suppress non-critical exceptions.

When the Chart control cannot properly plot the chart with the data and other settings provided, the Chart control with throw an exception. Although exceptions are useful during the testing of the application they should not be shown when released.

NOTE:  Setting this property to true may "hide" serious issues in the user application source code. This may also cause the a chart image to be generated that my misrepresent your data. It is highly recommended that this mode be only used in Release builds.

Requirements

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

See Also

Copyright © 2001 - 2009 Dundas Data Visualization, Inc. and others.