Click or drag to resize

Chart Class

Represents a chart control.
Inheritance Hierarchy

Namespace:  Dynamicweb.Controls.Charts
Assembly:  Dynamicweb.Controls (in Dynamicweb.Controls.dll) Version: 4.2.3
Syntax
public class Chart : AjaxControl, IAttributeAccessor

The Chart type exposes the following members.

Constructors
  NameDescription
Public methodChart
Initializes a new instance of an object.
Top
Properties
  NameDescription
Public propertyAutoDraw
Gets or sets value indicating whether to automatically request chart data asynchronously if no data has been initially provided.
Public propertyChartType
Gets or sets the chart type.
Public propertyClientInstanceName
Gets the name of the Javascript variable that refers to a client-side Chart object instance.
Public propertyClientScriptBlock
If server page header or clientscript not available (like in Module Paragraph settings). You could add JS of the AjaxControl in your page manually.
(Inherited from AjaxControl.)
Public propertyData
Gets or sets the initial data to be displayed in the chart.
Public propertyEnableLegacyRendering
Gets or sets value indicating whether to enable legacy rendering.
(Inherited from AjaxControl.)
Public propertyEngine
Gets or sets the target chart engine.
Public propertyEventArgument
Gets the current event argument.
(Inherited from AjaxControl.)
Public propertyEventTarget
Gets the current event target.
(Inherited from AjaxControl.)
Public propertyHeight
Gets or sets chart height.
Public propertyIsCompatibleRendering
Gets or sets value indicating whether maximum device compatibility must be used when rendering a chart.
Public propertyIsPostBack
Gets value indicating whether HTTP form is being posted to the server.
(Inherited from AjaxControl.)
Public propertyIsProcessingEvents
Gets value indicating whether control is currently processing events.
(Inherited from AjaxControl.)
Public propertyIsTextualResponse
Gets or sets value indicating whether to dispatch a textual response rather than JavaScript object.
(Inherited from AjaxControl.)
Public propertyOnClientReady
Gets or sets the client-side function that is executed when chart is ready.
Public propertyOptions
Gets custom chart options.
Public propertyTitle
Gets or sets chart title.
Public propertyType Obsolete.
Public propertyTypeManager
Gets the type manager for this chart.
Public propertyWidth
Gets or sets chart width.
Top
Methods
  NameDescription
Protected methodContainsCodeBlocks
Determines whether the given control contains code blocks.
(Inherited from AjaxControl.)
Protected methodControl_Load
Handles control's "Load" event.
(Inherited from AjaxControl.)
Protected methodControl_PreRender
Handles control's "PreRender" event.
(Inherited from AjaxControl.)
Public methodGetAttribute
Retrieves specified attribute from the chart control.
Protected methodGetDataLoadScript(String)
Returns a script that registers a new sends a "Data load" request to the server.
(Inherited from AjaxControl.)
Protected methodGetDataLoadScript(String, Boolean)
Returns a script that registers a new sends a "Data load" request to the server.
(Inherited from AjaxControl.)
Protected methodGetDataLoadScript(String, String)
Returns a script that registers a new sends a "Data load" request to the server.
(Inherited from AjaxControl.)
Protected methodGetDataLoadScript(String, String, Boolean)
Returns a script that registers a new sends a "Data load" request to the server.
(Inherited from AjaxControl.)
Public methodGetOption
Gets the value of the given option.
Public methodGetResponse
Causes the control to load its data and returns the JavaScript code block that contains control data.
(Inherited from AjaxControl.)
Public methodLoadPostData
Processes postback data for an ASP.NET server control.
(Inherited from AjaxControl.)
Public methodLoadResources
Loads chart resources.
(Overrides AjaxControlLoadResources.)
Protected methodOnDraw
Raises "Draw" event.
Protected methodOnLoad
Performs "Load" event.
(Inherited from AjaxControl.)
Public methodRaisePostBackEvent
Processes server events.
(Inherited from AjaxControl.)
Public methodRaisePostDataChangedEvent
Signals the server control to notify the ASP.NET application that the state of the control has changed.
(Inherited from AjaxControl.)
Public methodRemoveOption
Removes the given option.
Protected methodRender(HtmlTextWriter)
Sends chart content to a provided System.Web.UI.HtmlTextWriter object, which writes the content to be rendered on the client.
(Overrides AjaxControlRender(HtmlTextWriter).)
Protected methodRender(HtmlTextWriter, Boolean)
Sends control content to a provided System.Web.UI.HtmlTextWriter object, which writes the content to be rendered on the client.
(Inherited from AjaxControl.)
Public methodRenderClientObject
Renders client-side object.
(Overrides AjaxControlRenderClientObject(TextWriter).)
Public methodRenderControl
Sends control content to a provided System.Web.UI.HtmlTextWriter object, which writes the content to be rendered on the client.
(Inherited from AjaxControl.)
Public methodSetAttribute
Designates attribute and its value to assign to chart control.
Public methodSetOption
Sets the value of the given option.
Protected methodWriteResponse
Writes a response to the given output stream. The response MIME type must be "application/javascript".
(Overrides AjaxControlWriteResponse(TextWriter, String).)
Top
Events
  NameDescription
Public eventDraw
Occurs when chart is about to be rendered.
Top
Remarks