This topic has not yet been rated - Rate this topic

Chart Class

SharePoint 2010

Provides the implementation of the Chart Web Server Control.

Namespace:  Microsoft.Office.Server.WebControls
Assembly:  Microsoft.Office.Server.Chart (in Microsoft.Office.Server.Chart.dll)
public class Chart : Chart

This class is a wrapper around the ASP.NETChart control.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ
Some notes on use
This class inherits from System.Web.UI.DataVisualization.Charting.Chart and appears mostly to change the image delivery from ChartImg.axd (which requires adding an httphandler) to ChartPreviewImage.aspx in the _layouts directory. We have noticed that if one uses this class, rendering the control gives a null error unless the web part is placed on a page with a search refinement manager (see http://blogs.msdn.com/b/arnts/archive/2010/03/03/visualize-your-enterprise-search-results-and-add-visual-navigation.aspx?wa=wsignin1.0) $0$0 $0