ChartSpace Object

ChartSpace
Multiple objects

Represents the chart workspace. The chart workspace is the top-level chart container; it can contain more than one chart, with each chart represented by a ChChart object. When a chart workspace is first created, it is empty (it does not contain any charts). Use the Add method of the ChCharts object to create a new chart.

Using the ChartSpace Object

You can use either the CreateObject method or the New keyword to create a new ChartSpace object.

The object ID for a chart control on an HTML page or a Visual Basic form returns a ChartSpace object.

The programmatic identifier for the ChartSpace object is CLSID:0002E55D-0000-0000-C000-000000000046. The following example creates a chart workspace named "ChartSpace1" on an HTML page.

<object id=ChartSpace1 classid=CLSID:0002E55D-0000-0000-C000-000000000046 style="width:100%;height:350"></object>

Properties | AllowFiltering Property | AllowGrouping Property | AllowLayoutEvents Property | AllowPointRenderEvents Property | AllowPropertyToolbox Property | AllowRenderEvents Property | AllowScreenTipEvents Property | AllowUISelection Property | Border Property | Bottom Property | BuildNumber Property | CanUndo Property | ChartLayout Property | Charts Property | ChartSpaceLegend Property | ChartSpaceTitle Property | ChartWrapCount Property | Commands Property | CommandText Property | ConnectionString Property | Constants Property | DataMember Property | DataSource Property | DataSourceName Property | DataSourceType Property | DisplayFieldButtons Property | DisplayFieldList Property | DisplayOfficeLogo Property | DisplayPropertyToolbox Property | DisplayScreenTips Property | DisplayToolbar Property | EnableEvents Property | HasChartSpaceLegend Property | HasChartSpaceTitle Property | HasMultipleCharts Property | HasPassiveAlerts Property | HasPlotDetails Property | HasRuntimeSelection Property | HasSelectionMarks Property | HasSeriesByRows Property | HasUnifiedScales Property | Interior Property | InternalPivotTable Property | International Property | LanguageSettings Property | Left Property | MajorVersion Property | MinorVersion Property | ObjectType Property | Parent Property | PlotAllAggregates Property | PrintQuality3D Property | RevisionNumber Property | Right Property | ScreenUpdating Property | Selection Property | SelectionCollection Property | SelectionType Property | Toolbar Property | Top Property | Version Property | ViewOnlyMode Property | XMLData Property

Methods | BeginUndo Method | Clear Method | DropZones Method | EndUndo Method | ExportPicture Method | GetPicture Method | Load Method | RangeFromPoint Method | Refresh Method | Repaint Method | Select Method | SetData Method | SetSpreadsheetData Method | ShowContextMenu Method | ShowHelp Method | Undo Method

Events | AfterFinalRender Event | AfterLayout Event | AfterRender Event | BeforeContextMenu Event | BeforeKeyDown Event | BeforeKeyPress Event | BeforeKeyUp Event | BeforeRender Event | BeforeScreenTip Event | Click Event | CommandBeforeExecute Event | CommandChecked Event | CommandEnabled Event | CommandExecute Event | CommandTipText Event | DataSetChange Event | DblClick Event | KeyDown Event | KeyPress Event | KeyUp Event | MouseDown Event | MouseMove Event | MouseUp Event | MouseWheel Event | SelectionChange Event | ViewChange Event

Parent Objects

Child Objects | ChBorder Object | ChCharts Object | ChInterior Object | ChLegend Object | ChSelectionCollection Object | ChTitle Object | OCCommands Object | OWCLanguageSettings Object