ChartViewWebPart Class
The ChartViewWebPart class implements Microsoft Windows SharePoint Services chart view.
Microsoft.SharePoint.WebPartPages.WebPart
Microsoft.SharePoint.WebPartPages.ChartViewWebPart
Public Constructors
The following table shows the constructors of the ChartViewWebPart class and a brief description of each.
Name | Description |
---|---|
ChartViewWebPart | Initializes a new instance of the ChartViewWebPart class. |
Public Methods
The following table shows the public methods of the ChartViewWebPart class and a brief description of each.
Name | Description |
---|---|
EnsureData | Performs data operations for this Web Part. |
RenderViewAsHtml | Generates the HTML for this Web Part. |
ShouldSerializeFDoHasRespondedCheck | Indicates whether the FDoHasRespondedCheck property should be persisted. |
ShouldSerializeFQuestionsOnly | Indicates whether the FQuestionsOnly property should be persisted. |
ShouldSerializeListID | Indicates whether the ListId property should be persisted. |
Protected Methods
The following table shows the protected methods of the ChartViewWebPart class and a brief description of each.
Name | Description |
---|---|
RenderWebPart(System.Web.UI.HtmlTextWriter) | Overrides the Microsoft.SharePoint.WebPartPages.WebPart.RenderWebPart method to implement rendering for this Web Part. |
Public Properties
The following table shows the properties of the ChartViewWebPart class, the data type of each property, and a brief description of each.
Name | Data type | Description |
---|---|---|
FDoHasRespondedCheck | Boolean | Gets and sets a flag that indicates whether to check for unanswered questions when charting survey data. |
FQuestionsOnly | Boolean | Gets and sets a flag that displays questions only when charting survey data. |
List | Microsoft.SharePoint.SPList | Gets and sets the Windows SharePoint Services list that is represented in this chart. |
ListID | String | Gets and sets the name of the Windows SharePoint Services list that is represented in this chart. |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread safe.
Remarks
This Web Part is designed for use in the context of a survey application and is not intended to be used from your code. It generates graphical representations of list data and does not rely on client-side scripting.
Requirements
Namespace: Microsoft.SharePoint.WebPartPages
Platforms: Microsoft Windows Server 2003
Assembly: Windows SharePoint Services (in Microsoft.SharePoint.dll)
Security: Code Access Security