See Also

Chart Class  | dotnetCHARTING Namespace

See Also dotnetCHARTING Send comments on this topic.

Chart Class Members

Chart overview

Public Constructors

Public Constructor Chart Constructor Initializes a new empty instance of the Chart control.

Public Properties

Public Property AccessKey (Inherited from System.Web.UI.WebControls.WebControl)Gets or sets the access key (underlined letter) that allows you to quickly navigate to the Web server control.
Public Property AlternateText Gets or sets text displayed in place of a chart when images can't be viewed. This property can also be used as a tooltip for the chart in browsers that support this feature.
Public Property Annotations A collection of Annotation objects drawn on the chart.
Public Property Attributes (Inherited from System.Web.UI.WebControls.WebControl) Gets the collection of arbitrary attributes (for rendering only) that do not correspond to properties on the control.
Public Property AutoNameLabels Gets or sets a value which indicates whether elements and series are automatically named when no names are provided.
Public Property AxisCollection Contains a collection of calculated Axis objects.
Public Property BackColor (Inherited from System.Web.UI.WebControls.WebControl)Gets or sets the background color of the Web server control.
Public Property Background Gets or sets the Background of this chart.
Public Property BindingContainer (Inherited from System.Web.UI.Control) 
Public Property BorderColor (Inherited from System.Web.UI.WebControls.WebControl)Gets or sets the border color of the Web control.
Public Property BorderStyle (Inherited from System.Web.UI.WebControls.WebControl)Gets or sets the border style of the Web server control.
Public Property BorderWidth (Inherited from System.Web.UI.WebControls.WebControl)Gets or sets the border width of the Web server control.
Public Property CacheDuration Gets or sets the number of minutes an image is cached and displayed on a page before a new one is generated.
Public Property CalculateEmptyElement Gets or sets a value indicating whether the values of empty elements are percieved as 0 or omitted in calculations performed with the Chart.SeriesCollection.Add(Calculation calc) shortcut.
Public Property ChartArea Gets or sets the main ChartArea of the image.
Public Property ChartAreaLayout Gets or sets chart area layout options.
Public Property ChartAreaSpacing Gets or sets a value in pixels that defines the spacing between boxes like chart areas and legends.
Public Property CleanupMinimumAge Gets or sets the minimum number of minutes images are stored in the TempDirectory before they are deleted.
Public Property CleanupPeriod Gets or sets the number of minutes images are stored in the TempDirectory folder before they are deleted.
Public Property ClientID (Inherited from System.Web.UI.Control) Gets the server control identifier generated by ASP.NET.
Public Property ClipGauges Gets or sets a value which determines if gauges should be clipped (cut) to display only the active area.
Public Property Controls (Inherited from System.Web.UI.Control) Gets a ControlCollection object that represents the child controls for a specified server control in the UI hierarchy.
Public Property ControlStyle (Inherited from System.Web.UI.WebControls.WebControl)Gets the style of the Web server control. This property is used primarily by control developers.
Public Property ControlStyleCreated (Inherited from System.Web.UI.WebControls.WebControl)Gets a value indicating whether a Style object has been created for the ControlStyle property. This property is primarily used by control developers.
Public Property CssClass (Inherited from System.Web.UI.WebControls.WebControl)Gets or sets the Cascading Style Sheet (CSS) class rendered by the Web server control on the client.
Public Property DatabaseCultureName Gets or sets the culture name used when StartDate and EndDate insert to the sql statement. This property only necessary to set if the web server and database server having different culture setting.
Public Property DataGrid Gets or sets the control ID of a datagrid control that will be populated with the charted data.
Public Property DataGridFormatString Gets or sets the format string which determines number formatting in the datagrid.

Public Property DataGridSeriesHeader Gets or sets the header label of the DataGrid control specified by the DataGrid property.
Public Property DataGridTranspose Gets or sets a value indicating whether the data with which the specified DataGrid control is populated will be transposed.
Public Property DateGrouping Gets or sets a TimeInterval enumeration which determines how the values of a given series are aggregated by date when retrieved from a database.
Public Property DateGroupingCalculation Gets or sets an enum which determines how values are grouped to create a single element value.
Public Property DateGroupingSort Gets or sets a value indicating whether to maintain the sort order of the data as it is provided.
Public Property Debug Gets or sets a value that indicates whether debug messages are displayed below the chart.
Public Property DefaultAxis Gets or sets an Axis object whose properties will trickle down to all other axes on the chart unless otherwise specified.
Public Property DefaultBox Gets a base box object that is used as a vehicle for property settings which will become the defaults settings of all elements on the chart that derive from box.
Public Property DefaultChartArea Gets a ChartArea object whose property settings will propagate to all other ChartArea objects on the chart image.
Public Property DefaultCultureName Gets or sets the default culture name which determines number and date formatting.
Public Property DefaultElement Gets or sets an Element object whose properties will trickle to all other elements on the chart unless otherwise specified. This is a shortcut to the DefaultSeries.DefaultElement property.
Public Property DefaultFormatString Gets or sets the default format string which determines number and date formatting.

See Chart.DefaultAxis.FormatString.
Public Property DefaultLegendBox Gets a LegendBox object whose property settings will propagate to all other LegendBox objects on the chart image.
Public Property DefaultSeries Gets or sets a Series object whose properties will trickle to all other series on the chart unless otherwise specified.
Public Property DefaultShadow Gets or sets a shadow object whose properties will trickle to all other objects with shadows.
Public Property DefaultTitleBox Gets a Box object whose property settings will propagate to all title boxes on the chart image.
Public Property Depth Gets or sets depth of the chart when Use3D is true.
Public Property DisableBrowserCache Gets or sets a value indicating whether disable browser cache.
Public Property DonutHoleSize Gets or sets a percentage value which determines the relative thickness of the donut ring when ChartType.Donut is used.
Public Property DrillDownChain Gets or sets the drill down chain which activates automatic time based drill down if date grouping used.

If Limit or SplitByLimit used with ShowOther option, setting drill down chain to "Other" or "OtherAll" activates automatic drill down to other elements or series.

"OtherAll" shows all other elements or series in the second level.
"Other" shows the next number of elements or series has been set in limit or splitByLimit propertes.

Public Property DrillDownIntoSeries When using automated drill down in conjunction with date grouping and multiple series, this property determines if drill down will occur into a single series or multiple series.
Public Property EmptyElementText Gets or sets the default text of empty element labels. See Chart.DefaultSeries.DefaultElement.SmartLabel
Public Property Enabled (Inherited from System.Web.UI.WebControls.WebControl)Gets or sets a value indicating whether the Web server control is enabled.
Public Property EnableViewState (Inherited from System.Web.UI.Control) Gets or sets a value indicating whether the server control persists its view state, and the view state of any child controls it contains, to the requesting client.
Public Property ExplodedSliceAmount Gets or sets the relative percentage an exploded slice should be pulled out from the pie or donut.
Public Property ExtraChartAreas Gets a collection of additional ChartArea objects added to the chart.
Public Property ExtraLegendBoxes Gets a collection of additional LegendBox objects added to the chart.
Public Property FileManager Gets or sets the chart's instance of the FileManager which facilitates saving images.
Public Property FileName See Chart.FileManager.FileName.
Public Property FileQuality Gets or sets Jpg file quality. (Worse quality) 0 - 100 (Best quality)
Public Property Font (Inherited from System.Web.UI.WebControls.WebControl)Gets the font properties associated with the Web server control.
Public Property ForeColor (Inherited from System.Web.UI.WebControls.WebControl)Gets or sets the foreground color (typically the color of the text) of the Web server control.
Public Property GanttCompleteHatchStyle Gets or sets the hatch style drawn on columns and cylinders when an element's Complete value is set.
Public Property HatchStylePalette Gets or sets a hatch style palette that will trickle to all series on the chart. The hatch patterns will not show on chart elements if a hatch color is not specified. The default hatch color can be specified with the Chart.DefaultSeries.DefaultElement.HatchColor property.
Public Property HatchStylePaletteName Gets or sets a predefined HatchStylePalette that defines element and series hatch style.
Public Property Height Overridden.  Gets or sets the height of the chart image.
Public Property Hotspot Gets or sets the Hotspot property of the chart image.
Public Property ID (Inherited from System.Web.UI.Control) Gets or sets the programmatic identifier assigned to the server control.
Public Property ImageFormat Gets or sets an ImageFormat enumeration specifying the generated image's file type.
Public Property ImageMapName Returns a string for the image map name generated for the current chart image.
Public Property ImageMapText Returns a string for the image map generated for the current chart image.
Public Property IncludeGroupingDataInSubValues When using date grouping the main value in the element is derived from the actual values in the database or data provided to .netCHARTING. This property controls whether these subvalues used in the calculation to determine the element value are added to !:SubValues or not. By default, such values are not added to the element subvalues.
Public Property LegendBox Gets or sets a LegendBox object that represents the legend box.
Public Property LimitPrimarySeries In a multiple series chart, this property controls the primary series used for the Limit operation. Other series' elements will be matched with the primary series elements and that order will be maintained regardless of the values of the other series. For example, if you limit to the top 5 values and set the LimitPrimarySeries to the sales series other series such as dollar amount or quantity would not affect which elements were ultimately selected for the chart.
Public Property Margin Gets or sets a string which automatically sets multiple margins as a shortcut.
Public Property MarginBottom Gets or sets the bottom margin of the chart image.
Public Property MarginLeft Gets or sets the left margin of the chart image.
Public Property MarginRight Gets or sets the right margin of the chart image.
Public Property MarginTop Gets or sets the top margin of the chart image.
Public Property MaximumBubbleSize Gets or sets a value which controls the maximum size of bubbles when ChartType.Bubble is used.
Public Property Mentor Gets or sets a value that indicates whether the mentor is shown under the chart control. The mentor also requires that Chart.Debug is set to true.
Public Property NamingContainer (Inherited from System.Web.UI.Control) 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.
Public Property NoDataLabel Gets or sets a label shown on the chart when no data is available.
Public Property OverlapFooter Gets or sets a value indicating whether the 'unlicensed chart' footer overlaps the chart or moves it up.
Public Property Page (Inherited from System.Web.UI.Control) Gets a reference to the Page instance that contains the server control.
Public Property Palette Gets or sets an array of colors that define element and series colors.
Public Property PaletteName Gets or sets a predefined Palette that defines element and series colors.
Public Property Parent (Inherited from System.Web.UI.Control) Gets a reference to the server control's parent control in the page control hierarchy.
Public Property PieLabelMode See DefaultSeries.DefaultElement.SmartLabel.PieLabelMode.
Public Property PrinterOptimizedText Gets or sets a value that indicates whether text rendered on the chart optimized for printing.
Public Property RadarLabelMode See DefaultSeries.DefaultElement.SmartLabel.RadarLabelMode.
Public Property ReloadPeriod Gets or sets a TimeSpan object that determines how often the page containing this chart will automatically reload.
Public Property Series Gets or sets a series which is added to the chart's main SeriesCollection when the Chart.SeriesCollection.Add() method is invoked.
Public Property SeriesCollection Gets a SeriesCollection object which represents the data this chart will render.
Public Property ShadingEffect See ShadingEffectMode.
Public Property ShadingEffectMode Gets or sets a ShadingEffectMode enumeration indicating how elements on the chart are shaded.
Public Property ShowDateInTitle Gets or sets a value which indicates whether specified dates are shown in the title.
Public Property Site (Inherited from System.Web.UI.Control) Gets information about the Web site to which the server control belongs.
Public Property Size Sets a string that automatically sets the Height and Width of the chart image.
Public Property SmartLabelLine See Chart.DefaultSeries.DefaultElement.SmartLabel.Line.
Public Property StartDateOfYear Gets or sets a DateTime object to determine the start month of the year when DateGrouping is used.
Public Property StartDayOfWeek Gets or sets a DayOfWeek enumeration that indicates the starting day of the week when DateGrouping is used.
Public Property Style (Inherited from System.Web.UI.WebControls.WebControl) Gets a collection of text attributes that will be rendered as a style attribute on the outer tag of the Web server control.
Public Property TabIndex (Inherited from System.Web.UI.WebControls.WebControl) Gets or sets the tab index of the Web server control.
Public Property TempDirectory Gets or sets the directory where images generated by the control are temporarily stored.
Public Property TemplateSourceDirectory (Inherited from System.Web.UI.Control) Gets the virtual directory of the Page or UserControl that contains the current server control.
Public Property Title Gets or sets the chart title.

Equivalent to Chart.TitleBox.Label.Text.
Public Property TitleBox Gets or sets a Box object that represents the title box.
Public Property ToolTip Gets or sets the Tooltip of the entinre chart image.
Public Property TotalSeries Return the total number of series in the seriesCollection. This property usually used in conjunction with SplitByLimit.
Public Property Transpose Gets or sets a value indicating whether data added to this chart's SeriesCollection property is automatically transposed.
Public Property Type Gets or sets the ChartType of this Chart.
Public Property UniqueID (Inherited from System.Web.UI.Control) Gets the unique, hierarchically-qualified identifier for the server control.
Public Property URL Gets or sets the URL of the entinre chart image.
Public Property URLTarget Gets or sets the target of the URL link.
Public Property Use3D Gets or sets a value indicating whether chart elements are rendered in 3D.
Public Property UseFile Gets or sets a value indicating whether the generated image is saved as a file in the TempDirectory folder or streamed directly to the browser.
Public Property Visible (Inherited from System.Web.UI.Control) Gets or sets a value that indicates whether a server control is rendered as UI on the page.
Public Property Width Overridden.  Gets or sets the width of the chart image.
Public Property XAxis Gets or Sets the main XAxis which all series inherit by default.
Public Property YAxis Gets or Sets the main YAxis which all series inherit by default.

Public Methods

Public Method ApplyStyle (Inherited from System.Web.UI.WebControls.WebControl) 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.
Public Method CopyBaseAttributes (Inherited from System.Web.UI.WebControls.WebControl)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.
Public Method DataBind (Inherited from System.Web.UI.Control) Binds a data source to the invoked server control and all its child controls.
Public Method Dispose (Inherited from System.Web.UI.Control) Enables a server control to perform final clean up before it is released from memory.
Public Method FindControl (Inherited from System.Web.UI.Control)Searches the current naming container for a server control with the specified id parameter.
Public Method GetChartBitmap Obtains a Bitmap of the generated chart.
Public Method GetLegendBitmap Obtains a Bitmap of the legend generated by the chart.
Public Method HasControls (Inherited from System.Web.UI.Control)Determines if the server control contains any child controls.
Public Method MergeStyle (Inherited from System.Web.UI.WebControls.WebControl) 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.
Public Method RenderBeginTag (Inherited from System.Web.UI.WebControls.WebControl) Renders the HTML opening tag of the control into the specified writer. This method is used primarily by control developers.
Public Method RenderControl (Inherited from System.Web.UI.Control)Outputs server control content to a provided HtmlTextWriter object and stores tracing information about the control if tracing is enabled.
Public Method RenderEndTag (Inherited from System.Web.UI.WebControls.WebControl)Renders the HTML closing tag of the control into the specified writer. This method is used primarily by control developers.
Public Method ResolveUrl (Inherited from System.Web.UI.Control)Converts a URL into one that is usable on the requesting client.
Public Method SetRenderMethodDelegate (Inherited from System.Web.UI.Control) 

Public Events

Public Event DataBinding (Inherited from System.Web.UI.Control) Occurs when the server control binds to a data source.
Public Event Disposed (Inherited from System.Web.UI.Control) 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.
Public Event Init (Inherited from System.Web.UI.Control) Occurs when the server control is initialized, which is the first step in the its lifecycle.
Public Event Load (Inherited from System.Web.UI.Control)Occurs when the server control is loaded into the Page object.
Public Event PostDataProcessing Occurs when the the chart is completed the data processing.
Public Event PreRender (Inherited from System.Web.UI.Control)Occurs when the server control is about to render to its containing Page object.
Public Event Unload (Inherited from System.Web.UI.Control) Occurs when the server control is unloaded from memory.

See Also

Chart Class  | dotnetCHARTING Namespace

 

 


2002 - 2005 Webavail Productions Inc. & Corporate Web Solutions Ltd.. All Rights Reserved.