Dundas.SharePoint.Charting.WebParts Send comments on this topic.
Chart Class Members
See Also  Fields  Properties  Methods  Events
Dundas.Charting.WebControl Namespace : Chart Class


The following tables list the members exposed by Chart.

Public Constructors

  Name Description
Public Constructor Chart Constructor Chart control constructor.  
Top

Public Fields

  Name Description
Public Field ShowDebugMarkings True if smart labels debug markings should be drawn.  
Top

Public Properties

  Name Description
Public Property AccessKey Gets or sets the access key that allows you to quickly navigate to the Web server control. (Inherited from System.Web.UI.WebControls.WebControl)
Public Property AJAXZoomEnabled  
Public Property AnimationDuration Gets or sets the time, in seconds, that the Animation should end.  
Public Property AnimationFramesPerSecond Gets or sets number of frames per second in Flash animation.  
Public Property AnimationStartTime Gets or sets the time, in seconds, that the Animation should begin.  
Public Property AnimationTheme Gets or sets one of a predefined Animation themes.  
Public Property Annotations Chart annotation collection.  
Public Property AntiAliasing Specifies whether smoothing (antialiasing) is applied while drawing chart.  
Public Property AppRelativeTemplateSourceDirectory Gets or sets the application-relative virtual directory of the Page or UserControl object that contains this control. (Inherited from System.Web.UI.Control)
Public Property Attributes Gets the collection of arbitrary attributes (for rendering only) that do not correspond to properties on the control. (Inherited from System.Web.UI.WebControls.WebControl)
Public Property AutoSize  
Public Property BackColor Overridden.  Back ground color for the Chart  
Public Property BackGradientEndColor The second color which is used for a gradient  
Public Property BackGradientType A type for the background gradient  
Public Property BackHatchStyle Back Hatch style  
Public Property BackImage Chart area background image  
Public Property BackImageAlign Background image alignment used by ClampUnscale drawing mode.  
Public Property BackImageMode Chart area background image drawing mode.  
Public Property BackImageTranspColor Background image transparent color.  
Public Property BorderColor Border color for the Chart  
Public Property BorderLineColor Border color for the Chart  
Public Property BorderLineStyle The style of the border line  
Public Property BorderLineWidth The width of the border line  
Public Property BorderSkin Chart border skin style.  
Public Property BorderStyle The style of the border line  
Public Property BorderWidth The width of the border line  
Public Property CallbackManager Gets the chart callback manager.  
Public Property CallbackStateContent Indicates what type of chart state must be keeped into session variable to track chart callback changes.  
Public Property ChartAreas Reference to chart area collection  
Public Property ChartScrollTimeout Time delay in milliseconds before sending callback to call ChartScroll server side event. If during this time frame another user scroll is occured, it lets send callback only for last scroll and avoid extra trips on server side.  
Public Property ClientID Gets the server control identifier generated by ASP.NET. (Inherited from System.Web.UI.Control)
Public Property Compression Image compression value  
Public Property Controls Gets a ControlCollection object that represents the child controls for a specified server control in the UI hierarchy. (Inherited from System.Web.UI.Control)
Public Property ControlStyle Gets the style of the Web server control. This property is used primarily by control developers. (Inherited from System.Web.UI.WebControls.WebControl)
Public Property ControlStyleCreated Gets a value indicating whether a Style object has been created for the ControlStyle property. This property is primarily used by control developers. (Inherited from System.Web.UI.WebControls.WebControl)
Public Property CssClass Gets or sets the Cascading Style Sheet (CSS) class rendered by the Web server control on the client. (Inherited from System.Web.UI.WebControls.WebControl)
Public Property CustomAnimation Custom Animation collection.  
Public Property DataManipulator Series data manipulator  
Public Property DataMember Gets or sets the name of the list of data that the data-bound control binds to, in cases where the data source contains more than one distinct list of data items. (Inherited from System.Web.UI.WebControls.DataBoundControl)
Public Property DataSource Overridden.  "The data source used to populate series data. Series ValueMember properties must be also set."  
Public Property DataSourceID Gets or sets the ID of the control from which the data-bound control retrieves its list of data items. (Inherited from System.Web.UI.WebControls.DataBoundControl)
Public Property DataSourceObject (Inherited from System.Web.UI.WebControls.DataBoundControl)
Public Property Enabled Gets or sets a value indicating whether the Web server control is enabled. (Inherited from System.Web.UI.WebControls.WebControl)
Public Property EnableTheming Gets or sets a value indicating whether themes apply to this control. (Inherited from System.Web.UI.WebControls.WebControl)
Public Property EnableViewState Overridden.  Gets or sets a value indicating whether the control persists its view state.  
Public Property Font Overridden.  Font property is not used.  
Public Property ForeColor Overridden.  Fore color propery (not used)  
Public Property HasAttributes Gets a value indicating whether the control has attributes set. (Inherited from System.Web.UI.WebControls.WebControl)
Public Property Height Overridden.  Chart height  
Public Property ID Gets or sets the programmatic identifier assigned to the server control. (Inherited from System.Web.UI.Control)
Public Property ImageResolution  
Public Property ImageStorageMode Chart rendering type. Image tag, input tag, binary data streaming and image map are the options.  
Public Property ImageType Image type (Jpeg, BMP, Png, Svg, Flash)  
Public Property ImageUrl Chart image URL. Location where chart image is saved, when image tag is used for rendering.  
Public Property Legends Chart legend collection.  
Public Property MapAreas Chart map areas collection.  
Public Property MapEnabled Indicates that chart image map is enabled.  
Public Property NamingContainer Gets a reference to the server control's naming container, which creates a unique namespace for differentiating between server controls with the same ID property value. (Inherited from System.Web.UI.Control)
Public Property Page Gets a reference to the Page instance that contains the server control. (Inherited from System.Web.UI.Control)
Public Property Palette Color palette to use  
Public Property PaletteCustomColors Array of custom palette colors.  
Public Property Parent Gets a reference to the server control's parent control in the page control hierarchy. (Inherited from System.Web.UI.Control)
Public Property RenderType Chart rendering type. Image tag, input tag, binary data streaming and image map are the options.  
Public Property RepeatAnimation Indicates that animation must be repeated. Supported only by the Flash animation rendering engine.  
Public Property RepeatDelay Gets or sets the time, in seconds, that will be delayed before repeating the animation. The RepeatAnimation property must be set to true.  
Public Property Serializer Chart serializer object.  
Public Property Series Chart series collection.  
Public Property Site Gets information about the container that hosts the current control when rendered on a design surface. (Inherited from System.Web.UI.Control)
Public Property SkinID Gets or sets the skin to apply to the control. (Inherited from System.Web.UI.WebControls.WebControl)
Public Property SoftShadows Specifies whether smoothing is applied while drawing shadows.  
Public Property Style Gets a collection of text attributes that will be rendered as a style attribute on the outer tag of the Web server control. (Inherited from System.Web.UI.WebControls.WebControl)
Public Property SuppressExceptions Indicates that non-critical chart exceptions will be suppressed.  
Public Property TabIndex Gets or sets the tab index of the Web server control. (Inherited from System.Web.UI.WebControls.WebControl)
Public Property TemplateControl Gets or sets a reference to the template that contains this control. (Inherited from System.Web.UI.Control)
Public Property TemplateSourceDirectory Gets the virtual directory of the Page or UserControl that contains the current server control. (Inherited from System.Web.UI.Control)
Public Property TextAntiAliasingQuality Specifies the quality of text antialiasing.  
Public Property Titles Chart title collection.  
Public Property ToolTip Gets or sets the text displayed when the mouse pointer hovers over the Web server control. (Inherited from System.Web.UI.WebControls.WebControl)
Public Property UI Chart border skin style.  
Public Property UniqueID Gets the unique, hierarchically qualified identifier for the server control. (Inherited from System.Web.UI.Control)
Public Property ViewStateContent Chart content saved in the view state.  
Public Property ViewStateData User defined control state data in XML format.  
Public Property Visible Gets or sets a value that indicates whether a server control is rendered as UI on the page. (Inherited from System.Web.UI.Control)
Public Property Width Overridden.  Chart width  
Top

Protected Properties

  Name Description
Protected Property Adapter Gets the browser-specific adapter for the control. (Inherited from System.Web.UI.Control)
Protected Property ChildControlsCreated Gets a value that indicates whether the server control's child controls have been created. (Inherited from System.Web.UI.Control)
Protected Property ClientIDSeparator Gets a character value representing the separator character used in the ClientID property. (Inherited from System.Web.UI.Control)
Protected Property Context Gets the HttpContext object associated with the server control for the current Web request. (Inherited from System.Web.UI.Control)
Protected Property DesignMode Gets a value indicating whether a control is being used on a design surface. (Inherited from System.Web.UI.Control)
Protected Property Events Gets a list of event handler delegates for the control. This property is read-only. (Inherited from System.Web.UI.Control)
Protected Property HasChildViewState Gets a value indicating whether the current server control's child controls have any saved view-state settings. (Inherited from System.Web.UI.Control)
Protected Property IdSeparator Gets the character used to separate control identifiers. (Inherited from System.Web.UI.Control)
Protected Property Initialized Gets a value indicating whether the data-bound control has been initialized. (Inherited from System.Web.UI.WebControls.BaseDataBoundControl)
Protected Property IsBoundUsingDataSourceID Gets a value indicating whether the DataSourceID property is set. (Inherited from System.Web.UI.WebControls.BaseDataBoundControl)
Protected Property IsChildControlStateCleared Gets a value indicating whether controls contained within this control have control state. (Inherited from System.Web.UI.Control)
Protected Property IsEnabled Gets a value indicating whether the control is enabled. (Inherited from System.Web.UI.WebControls.WebControl)
Protected Property IsTrackingViewState Gets a value that indicates whether the server control is saving changes to its view state. (Inherited from System.Web.UI.Control)
Protected Property IsViewStateEnabled Gets a value indicating whether view state is enabled for this control. (Inherited from System.Web.UI.Control)
Protected Property LoadViewStateByID Gets a value indicating whether the control participates in loading its view state by ID instead of index. (Inherited from System.Web.UI.Control)
Protected Property RequiresDataBinding Gets or sets a value indicating whether the DataBind method should be called. (Inherited from System.Web.UI.WebControls.BaseDataBoundControl)
Protected Property SelectArguments Gets a DataSourceSelectArguments object that the data-bound control uses when retrieving data from a data source control. (Inherited from System.Web.UI.WebControls.DataBoundControl)
Protected Property TagKey Gets the HtmlTextWriterTag value that corresponds to this Web server control. This property is used primarily by control developers. (Inherited from System.Web.UI.WebControls.WebControl)
Protected Property TagName Gets the name of the control tag. This property is used primarily by control developers. (Inherited from System.Web.UI.WebControls.WebControl)
Protected Property ViewState Gets a dictionary of state information that allows you to save and restore the view state of a server control across multiple requests for the same page. (Inherited from System.Web.UI.Control)
Protected Property ViewStateIgnoresCase Gets a value that indicates whether the StateBag object is case-insensitive. (Inherited from System.Web.UI.Control)
Top

Public Methods

  Name Description
Public Method AlignDataPointsByAxisLabel Overloaded.  Aligns data points using their axis labels.  
Public Method ApplyPaletteColors Applies palette colors to series or data points.  
Public Method ApplyStyle Copies any nonblank elements of the specified style to the Web control, overwriting any existing style elements of the control. This method is primarily used by control developers. (Inherited from System.Web.UI.WebControls.WebControl)
Public Method ApplyStyleSheetSkin Applies the style properties defined in the page style sheet to the control. (Inherited from System.Web.UI.Control)
Public Method CopyBaseAttributes Copies the properties not encapsulated by the Style object from the specified Web server control to the Web server control that this method is called from. This method is used primarily by control developers. (Inherited from System.Web.UI.WebControls.WebControl)
Public Method DataBind Overloaded. Overridden.  Data binds control to the data source  
Public Method DataBindCrossTab Overloaded.  Data bind chart to the table. Series will be automatically added to the chart depending on the number of unique values in the seriesGroupByField column of the data source. Data source can be the Ole(SQL)DataReader, DataView, DataSet, DataTable or DataRow.  
Public Method DataBindTable Overloaded.  Automatically creates and binds series to specified data table. Each column of the table becomes a Y value in a separate series. Series X value field may also be provided.  
Public Method Dispose Overloaded.  Disposing control resoursec  
Public Method FindControl Overloaded. Searches the current naming container for a server control with the specified id parameter. (Inherited from System.Web.UI.Control)
Public Method Focus Sets input focus to a control. (Inherited from System.Web.UI.Control)
Public Method GetCurrentImageUrl Gets current image URL the chart control will be rendered into.  
Public Method GetHtmlImageMap Gets HTML image map of the currently rendered chart. Save(...) method MUST be called before calling this method!  
Public Method GetService Gets the requested chart service.  
Public Method HasControls Determines if the server control contains any child controls. (Inherited from System.Web.UI.Control)
Public Method HitTest Overloaded.  This method is used for selection and it returns a selected object from x and y coordinates.  
Public Method LoadTemplate Overloaded.  Loads chart appearance template from file.  
Public Method MergeStyle Copies any nonblank elements of the specified style to the Web control, but will not overwrite any existing style elements of the control. This method is used primarily by control developers. (Inherited from System.Web.UI.WebControls.WebControl)
Public Method RaisePostBackEvent Method of IPostBackEventHandler that raises change events.  
Public Method RenderBeginTag Renders the HTML opening tag of the control to the specified writer. This method is used primarily by control developers. (Inherited from System.Web.UI.WebControls.WebControl)
Public Method RenderControl Overloaded. Outputs server control content to a provided HtmlTextWriter object and stores tracing information about the control if tracing is enabled. (Inherited from System.Web.UI.Control)
Public Method RenderEndTag Renders the HTML closing tag of the control into the specified writer. This method is used primarily by control developers. (Inherited from System.Web.UI.WebControls.WebControl)
Public Method ResetAutoValues Reset auto calculated chart properties values to "Auto".  
Public Method ResolveClientUrl Gets a URL that can be used by the browser. (Inherited from System.Web.UI.Control)
Public Method ResolveUrl Converts a URL into one that is usable on the requesting client. (Inherited from System.Web.UI.Control)
Public Method Save Overloaded.  Saves chart image into the file.  
Public Method Select Function, which returns selected data point and selected series from x, and y coordinate position.  
Public Method SetRenderMethodDelegate Assigns an event handler delegate to render the server control and its content into its parent control. (Inherited from System.Web.UI.Control)
Top

Protected Methods

  Name Description
Protected Method AddAttributesToRender Adds HTML attributes and styles that need to be rendered to the specified HtmlTextWriterTag. This method is used primarily by control developers. (Inherited from System.Web.UI.WebControls.WebControl)
Protected Method AddedControl Called after a child control is added to the Controls collection of the Control object. (Inherited from System.Web.UI.Control)
Protected Method AddParsedSubObject Notifies the server control that an element, either XML or HTML, was parsed, and adds the element to the server control's ControlCollection object. (Inherited from System.Web.UI.Control)
Protected Method BuildProfileTree Gathers information about the server control and delivers it to the Trace property to be displayed when tracing is enabled for the page. (Inherited from System.Web.UI.Control)
Protected Method ClearChildControlState Deletes the control-state information for the server control's child controls. (Inherited from System.Web.UI.Control)
Protected Method ClearChildState Deletes the view-state and control-state information for all the server control's child controls. (Inherited from System.Web.UI.Control)
Protected Method ClearChildViewState Deletes the view-state information for all the server control's child controls. (Inherited from System.Web.UI.Control)
Protected Method ConfirmInitState Sets the initialized state of the data-bound control. (Inherited from System.Web.UI.WebControls.BaseDataBoundControl)
Protected Method CreateChildControls Called by the ASP.NET page framework to notify server controls that use composition-based implementation to create any child controls they contain in preparation for posting back or rendering. (Inherited from System.Web.UI.Control)
Protected Method CreateControlCollection Creates a new ControlCollection object to hold the child controls (both literal and server) of the server control. (Inherited from System.Web.UI.Control)
Protected Method CreateControlStyle Creates the style object that is used internally by the WebControl class to implement all style related properties. This method is used primarily by control developers. (Inherited from System.Web.UI.WebControls.WebControl)
Protected Method CreateDataSourceSelectArguments Creates a default DataSourceSelectArguments object used by the data-bound control if no arguments are specified. (Inherited from System.Web.UI.WebControls.DataBoundControl)
Protected Method DataBindChildren Binds a data source to the server control's child controls. (Inherited from System.Web.UI.Control)
Protected Method EnsureChildControls Determines whether the server control contains child controls. If it does not, it creates child controls. (Inherited from System.Web.UI.Control)
Protected Method EnsureDataBound Calls the DataBind method if the DataSourceID property is set and the data-bound control is marked to require binding. (Inherited from System.Web.UI.WebControls.BaseDataBoundControl)
Protected Method EnsureID Creates an identifier for controls that do not have an identifier assigned. (Inherited from System.Web.UI.Control)
Protected Method Finalize Overridden.  Control destructor  
Protected Method GetData Retrieves a DataSourceView object that the data-bound control uses to perform data operations. (Inherited from System.Web.UI.WebControls.DataBoundControl)
Protected Method GetDataSource Retrieves the IDataSource interface that the data-bound control is associated with, if any. (Inherited from System.Web.UI.WebControls.DataBoundControl)
Protected Method GetDesignModeState Gets design-time data for a control. (Inherited from System.Web.UI.Control)
Protected Method HasEvents Returns a value indicating whether events are registered for the control or any child controls. (Inherited from System.Web.UI.Control)
Protected Method IsLiteralContent Determines if the server control holds only literal content. (Inherited from System.Web.UI.Control)
Protected Method LoadControlState Restores control-state information from a previous page request that was saved by the SaveControlState method. (Inherited from System.Web.UI.Control)
Protected Method LoadViewState Overridden.  Restores view-state information from a previous page request that was saved by the SaveViewState method.  
Protected Method MapPathSecure Retrieves the physical path that a virtual path, either absolute or relative, maps to. (Inherited from System.Web.UI.Control)
Protected Method MarkAsDataBound Sets the state of the control in view state as successfully bound to data. (Inherited from System.Web.UI.WebControls.DataBoundControl)
Protected Method OnAxisViewChanged Raises the E:AxisViewChanged event.  
Protected Method OnAxisViewChanging Raises the E:AxisViewChanging event.  
Protected Method OnAxisViewZoomReset Raises the E:AxisViewZoomReset event.  
Protected Method OnBackPaint Fires when chart element backround must be drawn. This event is fired for elements like: ChatPicture, ChartArea and Legend  
Protected Method OnBubbleEvent Determines whether the event for the server control is passed up the page's UI server control hierarchy. (Inherited from System.Web.UI.Control)
Protected Method OnCallback Raises the callback event.  
Protected Method OnCallbackComplete Raises the callback complete event.  
Protected Method OnChartScroll Invokes delegates registered with the ChartScroll event.  
Protected Method OnClick Invokes delegates registered with the Click event.  
Protected Method OnCommandFired Fires after executing a command.  
Protected Method OnCommandFiring Fires before executing a command.  
Protected Method OnCustomize Fires when all chart data is prepared to be customized before drawing.  
Protected Method OnCustomizeLegend Fires when all chart legend data is prepared to be customized before drawing.  
Protected Method OnCustomizeMapAreas Fires when chart image map data is prepared to be rendered.  
Protected Method OnDataBinding Raises the DataBinding event. (Inherited from System.Web.UI.Control)
Protected Method OnDataBound Raises the DataBound event. (Inherited from System.Web.UI.WebControls.BaseDataBoundControl)
Protected Method OnDataPropertyChanged Rebinds the data-bound control to its data after one of the base data source identification properties changes. (Inherited from System.Web.UI.WebControls.DataBoundControl)
Protected Method OnDataSourceViewChanged Raises the DataSourceViewChanged event. (Inherited from System.Web.UI.WebControls.DataBoundControl)
Protected Method OnInit Overridden.  Override OnInit in order to end toolbal initialization.  
Protected Method OnLoad Overridden.   
Protected Method OnPagePreLoad Sets the initialized state of the data-bound control before the control is loaded. (Inherited from System.Web.UI.WebControls.DataBoundControl)
Protected Method OnPaint Fires when chart element must be drawn. This event is fired for elements like: ChatPicture, ChartArea and Legend  
Protected Method OnPreRender Overridden.  Handles the PreRender event.  
Protected Method OnUnload Raises the Unload event. (Inherited from System.Web.UI.Control)
Protected Method OpenFile Gets a Stream used to read a file. (Inherited from System.Web.UI.Control)
Protected Method PerformDataBinding Overridden.   
Protected Method PerformSelect Retrieves data from the associated data source. (Inherited from System.Web.UI.WebControls.DataBoundControl)
Protected Method RaiseBubbleEvent Assigns any sources of the event and its information to the control's parent. (Inherited from System.Web.UI.Control)
Protected Method RemovedControl Called after a control is removed from the Controls collection of another control. (Inherited from System.Web.UI.Control)
Protected Method Render Overridden.  Render this control to the output parameter specified.  
Protected Method RenderChildren Outputs the content of a server control's children to a provided HtmlTextWriter object, which writes the content to be rendered on the client. (Inherited from System.Web.UI.Control)
Protected Method RenderContents Renders the contents of the control to the specified writer. This method is used primarily by control developers. (Inherited from System.Web.UI.WebControls.WebControl)
Protected Method RenderDesignTime Render this control to the output parameter specified.  
Protected Method ResolveAdapter Gets the control adapter responsible for rendering the specified control. (Inherited from System.Web.UI.Control)
Protected Method SaveControlState Saves any server control state changes that have occurred since the time the page was posted back to the server. (Inherited from System.Web.UI.Control)
Protected Method SaveViewState Overridden.  Saves any server control view-state changes that have occurred since the time the page was posted back to the server.  
Protected Method SetDesignModeState Sets design-time data for a control. (Inherited from System.Web.UI.Control)
Protected Method TrackViewState Causes the control to track changes to its view state so they can be stored in the object's ViewState property. (Inherited from System.Web.UI.WebControls.WebControl)
Protected Method ValidateDataSource Overridden.   
Top

Public Events

  Name Description
Public Event AxisViewChanged Called when axis view position/size is changed.  
Public Event AxisViewChanging Called when axis view position/size is about to change.  
Public Event AxisViewZoomReset Fires when axis view zoom reset button is pressed.  
Public Event BackPaint Fires when chart element backround must be drawn. This event is fired for elements like: ChartPicture, ChartArea and Legend  
Public Event Callback  
Public Event CallbackComplete  
Public Event ChartScroll Called when axis scrolled.  
Public Event Click Defines the Click event using the event property syntax. The Events property stores all the event delegates of a control as name/value pairs.  
Public Event CommandFired Fires after executing a command.  
Public Event CommandFiring Fires before executing a command.  
Public Event Customize Fires just before the chart image is drawn. Use this event to customize the chart picture.  
Public Event CustomizeLegend Fires just before the chart legend is drawn. Use this event to customize the chart legend items.  
Public Event CustomizeMapAreas Fires just before the chart image map is rendered. Use this event to customize the map areas items.  
Public Event DataBinding Occurs when the server control binds to a data source. (Inherited from System.Web.UI.Control)
Public Event DataBound Occurs after the server control binds to a data source. (Inherited from System.Web.UI.WebControls.BaseDataBoundControl)
Public Event Disposed Occurs when a server control is released from memory, which is the last stage of the server control lifecycle when an ASP.NET page is requested. (Inherited from System.Web.UI.Control)
Public Event Init Occurs when the server control is initialized, which is the first step in its lifecycle. (Inherited from System.Web.UI.Control)
Public Event Load Occurs when the server control is loaded into the Page object. (Inherited from System.Web.UI.Control)
Public Event Paint Fires when chart element must be drawn. This event is fired for elements like: ChartPicture, ChartArea and Legend  
Public Event PostPaint Fires after chart element was drawn. This event is fired for elements like: ChartPicture, ChartArea and Legend  
Public Event PrePaint Fires after the chart element backround was drawn. This event is fired for elements like: ChartPicture, ChartArea and Legend  
Public Event PreRender Occurs after the Control object is loaded but prior to rendering. (Inherited from System.Web.UI.Control)
Public Event Unload Occurs when the server control is unloaded from memory. (Inherited from System.Web.UI.Control)
Top

See Also