dotnetCHARTING Send comments on this topic.
Chart Class Members
See Also  Properties  Methods  Events
dotnetCHARTING Namespace : Chart Class


The following tables list the members exposed by Chart.

Public Constructors

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

Public Properties

 NameDescription
Public PropertyAccessKey (Inherited from System.Web.UI.WebControls.WebControl)
Public PropertyAlternateText 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 PropertyAnnotations A collection of Annotation objects drawn on the chart.  
Public PropertyAppRelativeTemplateSourceDirectory (Inherited from System.Web.UI.Control)
Public PropertyAttributes (Inherited from System.Web.UI.WebControls.WebControl)
Public PropertyAutoNameLabels Gets or sets a value which indicates whether elements and series are automatically named when no names are provided.  
Public PropertyAxisCollection Contains a collection of calculated Axis objects.  
Public PropertyBackColor (Inherited from System.Web.UI.WebControls.WebControl)
Public PropertyBackground Gets or sets the Background of this chart.  
Public PropertyBindingContainer (Inherited from System.Web.UI.Control)
Public PropertyBorderColor (Inherited from System.Web.UI.WebControls.WebControl)
Public PropertyBorderStyle (Inherited from System.Web.UI.WebControls.WebControl)
Public PropertyBorderWidth (Inherited from System.Web.UI.WebControls.WebControl)
Public PropertyBoxGets or sets an Annotation object that is drawn as the background for this chart.  
Public PropertyBubbleCenterStack Gets or sets a boolean value to control bubble center stack.  
Public PropertyBubbleStackShadeAsOne Gets or sets a boolean value to control bubble stack shade.  
Public PropertyCacheDuration Gets or sets the number of minutes an image is cached and displayed on a page before a new one is generated.  
Public PropertyCalculateEmptyElement 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 PropertyChartArea Gets or sets the main ChartArea of the image.  
Public PropertyChartAreaLayoutGets or sets chart area layout options.  
Public PropertyChartAreaSpacing Gets or sets a value in pixels that defines the spacing between boxes like chart areas and legends.  
Public PropertyCleanupMinimumAge Gets or sets the minimum number of minutes images are stored in the TempDirectory before they are deleted.  
Public PropertyCleanupPeriod Gets or sets the number of minutes images are stored in the TempDirectory folder before they are deleted.  
Public PropertyClientID (Inherited from System.Web.UI.Control)
Public PropertyClipGauges Gets or sets a value which determines if gauges should be clipped (cut) to display only the active area.  
Public PropertyControls (Inherited from System.Web.UI.Control)
Public PropertyControlStyle (Inherited from System.Web.UI.WebControls.WebControl)
Public PropertyControlStyleCreated (Inherited from System.Web.UI.WebControls.WebControl)
Public PropertyCssClass (Inherited from System.Web.UI.WebControls.WebControl)
Public PropertyDatabaseCultureName 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 PropertyDataGrid Gets or sets the control object or ID of a datagrid control that will be populated with the charted data.  
Public PropertyDataGridCustomAttributes Adds element's custom attributes to the DataGrid control specified by the DataGrid property.  
Public PropertyDataGridFormatString Gets or sets the format string which determines number formatting in the datagrid.

 
Public PropertyDataGridSeriesHeader Gets or sets the header label of the DataGrid control specified by the DataGrid property.  
Public PropertyDataGridTranspose Gets or sets a value indicating whether the data with which the specified DataGrid control is populated will be transposed.  
Public PropertyDateGrouping 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 PropertyDateGroupingCalculation Gets or sets an enum which determines how values are grouped to create a single element value.  
Public PropertyDateGroupingSort Gets or sets a value indicating whether to maintain the sort order of the data as it is provided.  
Public PropertyDebug Gets or sets a value that indicates whether debug messages are displayed below the chart.  
Public PropertyDefaultAxis Gets or sets an Axis object whose properties will trickle down to all other axes on the chart unless otherwise specified.  
Public PropertyDefaultBox 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 PropertyDefaultChartArea Gets a ChartArea object whose property settings will propagate to all other ChartArea objects on the chart image.  
Public PropertyDefaultCultureName Gets or sets the default culture name which determines number and date formatting.  
Public PropertyDefaultElement 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 PropertyDefaultFormatString Gets or sets the default format string which determines number and date formatting.

See Chart.DefaultAxis.FormatString.  
Public PropertyDefaultLegendBox Gets a LegendBox object whose property settings will propagate to all other LegendBox objects on the chart image.  
Public PropertyDefaultSeries Gets or sets a Series object whose properties will trickle to all other series on the chart unless otherwise specified.  
Public PropertyDefaultShadow Gets or sets a shadow object whose properties will trickle to all other objects with shadows.  
Public PropertyDefaultTitleBox Gets a Box object whose property settings will propagate to all title boxes on the chart image.  
Public PropertyDepth Gets or sets depth of the chart when Use3D is true.  
Public PropertyDisableBrowserCache Gets or sets a value indicating whether disable browser cache.  
Public PropertyDonutHoleSize Gets or sets a percentage value which determines the relative thickness of the donut ring when ChartType.Donut is used.  
Public PropertyDpi Gets or sets the resolution, in dots per inch, of the chart Bitmap.  
Public PropertyDrillDownChainGets 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 PropertyDrillDownIntoSeries 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 PropertyEmptyElementText Gets or sets the default text of empty element labels. See Chart.DefaultSeries.DefaultElement.SmartLabel  
Public PropertyEnabled (Inherited from System.Web.UI.WebControls.WebControl)
Public PropertyEnableTheming (Inherited from System.Web.UI.WebControls.WebControl)
Public PropertyEnableViewState (Inherited from System.Web.UI.Control)
Public PropertyExplodedSliceAmount Gets or sets the relative percentage an exploded slice should be pulled out from the pie or donut.  
Public PropertyExtraChartAreas Gets a collection of additional ChartArea objects added to the chart.  
Public PropertyExtraLegendBoxes Gets a collection of additional LegendBox objects added to the chart.  
Public PropertyFileManager Gets or sets the chart's instance of the FileManager which facilitates saving images.  
Public PropertyFileName See Chart.FileManager.FileName.  
Public PropertyFileQuality Gets or sets Jpg file quality. (Worse quality) 0 - 100 (Best quality)  
Public PropertyFont (Inherited from System.Web.UI.WebControls.WebControl)
Public PropertyForeColor (Inherited from System.Web.UI.WebControls.WebControl)
Public PropertyFunnelNozzlePercentage Gets or sets a numeric value between 0 and 100 that indicates the percentage of the full funnel height that comprises the funnel's nozzle.  
Public PropertyFunnelNozzleWidthPercentage Gets or sets a numeric value between 0 and 100 that indicates the percentage of the full funnel width that comprises the funnel's nozzle.  
Public PropertyFunnelSpacingPercentage Gets or sets a numeric value between 0 and 100 that indicates the percentage of the funnel's spacing.  
Public PropertyGanttCompleteHatchStyle Gets or sets the hatch style drawn on columns and cylinders when an element's Element.Complete value is set.  
Public PropertyHasAttributes (Inherited from System.Web.UI.WebControls.WebControl)
Public PropertyHatchStylePalette 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 PropertyHatchStylePaletteName Gets or sets a predefined HatchStylePalette that defines element and series hatch style.  
Public PropertyHeightOverridden.  Gets or sets the height of the chart image.  
Public PropertyHotspot Gets or sets the Hotspot property of the chart image.  
Public PropertyHotspotMinimumSizeGets or sets a value that indicates the minimum size in pixels a hotspot must be in order for it to be generated.  
Public PropertyID (Inherited from System.Web.UI.Control)
Public PropertyImageFormat Gets or sets an ImageFormat enumeration specifying the generated image's file type.  
Public PropertyImageMapName Returns a string for the image map name generated for the current chart image.  
Public PropertyImageMapText Returns a string for the image map generated for the current chart image.  
Public PropertyJSProvides JSCharting functionality  
Public PropertyLegacyMode Gets or sets a value that indicates whether original chart defaults are used instead of new defaults introduced with version 7.0.  
Public PropertyLegendBoxGets or sets a LegendBox object that represents the legend box.  
Public PropertyLimitPrimarySeries 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 PropertyMapping This property is used only when using a map chart: (Chart.Type = ChartType.Map).  
Public PropertyMargin Gets or sets a string which automatically sets multiple margins as a shortcut.  
Public PropertyMarginBottom Gets or sets the bottom margin of the chart image.  
Public PropertyMarginLeft Gets or sets the left margin of the chart image.  
Public PropertyMarginRight Gets or sets the right margin of the chart image.  
Public PropertyMarginTop Gets or sets the top margin of the chart image.  
Public PropertyMaximumBubbleSize Gets or sets a value which controls the maximum size of bubbles when ChartType.Bubble is used.  
Public PropertyMaximumBubbleSizeValue Gets or sets the maximum value the bubble size will be based on where a bubble size value of MaximumBubbleSizeValue equals a bubble of size MaximumBubbleSize.  
Public PropertyMentor 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 PropertyNamingContainer (Inherited from System.Web.UI.Control)
Public PropertyNavigator Provides SliverLight functionality.  
Public PropertyNoDataLabel Gets or sets a label shown on the chart when no data is available.  
Public PropertyObjectChart Gets or sets an object that will be drawn instead of the chart and will dynamically resize the chart image to fit the object's size. The supported objects are Label and Annotation.  
Public PropertyOverlapFooter Gets or sets a value indicating whether the 'unlicensed chart' footer overlaps the chart or moves it up.  
Public PropertyPage (Inherited from System.Web.UI.Control)
Public PropertyPalette Gets or sets an array of colors that define element and series colors.  
Public PropertyPaletteName Gets or sets a predefined Palette that defines element and series colors.  
Public PropertyParent (Inherited from System.Web.UI.Control)
Public PropertyPieLabelMode See DefaultSeries.DefaultElement.SmartLabel.PieLabelMode.  
Public PropertyPopulateDateGroupingSubValues 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 PropertyPrinterOptimizedText Gets or sets a value that indicates whether text rendered on the chart optimized for printing.  
Public PropertyRadarLabelMode See DefaultSeries.DefaultElement.SmartLabel.RadarLabelMode.  
Public PropertyReloadPeriod Gets or sets a TimeSpan object that determines how often the page containing this chart will automatically reload.  
Public PropertySeries Gets or sets a series which is added to the chart's main SeriesCollection when the Chart.SeriesCollection.Add() method is invoked.  
Public PropertySeriesCollection Gets a SeriesCollection object which represents the data this chart will render.  
Public PropertyShadingEffectMode Gets or sets a ShadingEffectMode enumeration indicating how elements on the chart are shaded.  
Public PropertyShowDateInTitle Gets or sets a value which indicates whether specified dates are shown in the title. The formatting of the shown dates can be controlled with Chart.DefaultCultureName.  
Public PropertySite (Inherited from System.Web.UI.Control)
Public PropertySize Sets a string that automatically sets the Height and Width of the chart image.  
Public PropertySkinID (Inherited from System.Web.UI.WebControls.WebControl)
Public PropertySmallChartMode Gets or sets a value that indicates whether this chart uses the SmallChartMode.  
Public PropertySmartForecast Gets or sets a TimeIntervalAdvanced object that specifies a time span shown on the chart. The span shown is an interval which encompasses the time the chart is rendered. A trend line is also added for the entire span shown and uses values not shown in it's calculation to improve accuracy.  
Public PropertySmartPalette Gets or sets a NameColorCollection object that specifies the colors of elements and series with specific names.  
Public PropertySmartPaletteAutoSync Gets or sets a boolean which controls smart palette synchronization.  
Public PropertySpacingPercentage Gets or sets the spacing percentage of pyramids, cones, and funnels with ChartType.Multiple .  
Public PropertySpacingPercentageNestedGets or sets a value that indicates the spacing percentage of nested pies.  
Public PropertyStartDateOfYear Gets or sets a DateTime object to determine the start month of the year when DateGrouping is used.  
Public PropertyStartDayOfWeek Gets or sets a DayOfWeek enumeration that indicates the starting day of the week when DateGrouping is used.  
Public PropertyStyle (Inherited from System.Web.UI.WebControls.WebControl)
Public PropertySubValueDateGrouping 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 PropertyTabIndex (Inherited from System.Web.UI.WebControls.WebControl)
Public PropertyTempDirectory Gets or sets the directory where images generated by the control are temporarily stored.  
Public PropertyTemplateControl (Inherited from System.Web.UI.Control)
Public PropertyTemplateSourceDirectory (Inherited from System.Web.UI.Control)
Public PropertyTitle Gets or sets the chart title.

Equivalent to Chart.TitleBox.Label.Text.  
Public PropertyTitleBox Gets or sets a Box object that represents the title box.  
Public PropertyToolTipOverridden.  Gets or sets the Tooltip of the entinre chart image.  
Public PropertyTotalSeries Return the total number of series in the seriesCollection. This property usually used in conjunction with SplitByLimit.  
Public PropertyTranspose Gets or sets a value indicating whether data added to this chart's SeriesCollection property is automatically transposed.  
Public PropertyType Gets or sets the ChartType of this Chart.  
Public PropertyUniqueID (Inherited from System.Web.UI.Control)
Public PropertyURL Gets or sets the URL of the entinre chart image.  
Public PropertyURLTarget Gets or sets the target of the URL link.  
Public PropertyUse3D Gets or sets a value indicating whether chart elements are rendered in 3D.  
Public PropertyUseFile 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 PropertyUseSessionGets or sets a value indicating whether the generated image is saved
temporarily in a session variable for subsequent streaming from a helper aspx page. This option may only be used when UseFile = false.  
Public PropertyView3D Gets or sets the View3D class that contains properties to control the rendering of 3D surface charts.  
Public PropertyVisible (Inherited from System.Web.UI.Control)
Public PropertyWidthOverridden.  Gets or sets the width of the chart image.  
Public PropertyXAxisGets or Sets the main XAxis which all series inherit by default.  
Public PropertyYAxisGets or Sets the main YAxis which all series inherit by default.  
Public PropertyZAxisGets or Sets the main ZAxis which all series inherit by default. The ZAxis is used with surface charts.  
Public PropertyZoomer Provides AJAX zooming and scrolling feature settings.  
Top

Public Methods

 NameDescription
Public MethodApplyStyle (Inherited from System.Web.UI.WebControls.WebControl)
Public MethodApplyStyleSheetSkin (Inherited from System.Web.UI.Control)
Public MethodCopyBaseAttributes (Inherited from System.Web.UI.WebControls.WebControl)
Public MethodDataBind (Inherited from System.Web.UI.Control)
Public MethodDispose (Inherited from System.Web.UI.Control)
Public MethodFindControl (Inherited from System.Web.UI.Control)
Public MethodFocus (Inherited from System.Web.UI.Control)
Public MethodGetChartBitmap Obtains a Bitmap of the generated chart.  
Public MethodGetChartMetafile Returns the metafile contains records that describe a sequence of graphics operations that can be recorded (constructed) and played back (displayed).  
Public MethodGetChartStream Returns the memory stream of the image.  
Public MethodGetLegendBitmap Obtains a Bitmap of the legend generated by the chart.  
Public MethodGetLegendMetafile Returns the metafile contains records that describe a sequence of graphics operations that can be recorded (constructed) and played back (displayed).  
Public MethodHasControls (Inherited from System.Web.UI.Control)
Public MethodHitTest  
Public MethodLoadStateOverloaded.  Imports a chart object from the specified xml file.  
Public MethodMergeStyle (Inherited from System.Web.UI.WebControls.WebControl)
Public MethodPaletteAddOverloaded.  Adds the colors of a predefined palette to the existing palette colors stored in Palette.  
Public MethodRenderBeginTag (Inherited from System.Web.UI.WebControls.WebControl)
Public MethodRenderControlOverridden.  Outputs chart server control content to a provided HtmlTextWriter object.  
Public MethodRenderEndTag (Inherited from System.Web.UI.WebControls.WebControl)
Public MethodResolveClientUrl (Inherited from System.Web.UI.Control)
Public MethodResolveUrl (Inherited from System.Web.UI.Control)
Public MethodSaveStateOverloaded. string LoadState()

void LoadState(string xmlFilePath,Chart chartObject)

string LoadState(Chart chartObject)


string LoadState()

void LoadState(string xmlFilePath)

string LoadState(Chart chartObject)


string LoadState(string xmlFilePathOrData)

void LoadState(string xmlFilePathOrData,Chart chartObject)

string LoadState(Chart chartObject)


string LoadState()

string LoadState(string xmlFilePath)

void LoadState(string xmlFilePath,Chart chartObject)  

Public MethodSaveStateJSONOverloaded.   
Public MethodSetRenderMethodDelegate (Inherited from System.Web.UI.Control)
Top

Public Events

 NameDescription
Public EventDataBinding (Inherited from System.Web.UI.Control)
Public EventDisposed (Inherited from System.Web.UI.Control)
Public EventErrorProcessing  
Public EventInit (Inherited from System.Web.UI.Control)
Public EventLoad (Inherited from System.Web.UI.Control)
Public EventPostDataProcessingOccurs when the the chart is completed the data processing.  
Public EventPreRender (Inherited from System.Web.UI.Control)
Public EventUnload (Inherited from System.Web.UI.Control)
Top

See Also

© 2011 All Rights Reserved.