ChartSerializer.Reset Method ()

.NET Framework (current version)
 

Resets all chart properties marked for serialization.

Namespace:   System.Web.UI.DataVisualization.Charting
Assembly:  System.Web.DataVisualization (in System.Web.DataVisualization.dll)

public void Reset()

By default, this method resets all chart properties to their default values.

To limit the chart properties that are reset to their defaults, use the Content, SerializableContent and NonSerializableContent properties.

Note that this method is also called automatically when a Load method is used and the IsResetWhenLoading property is set to true.

.NET Framework
Available since 4.0
Return to top
Show: