This document is archived and information here might be outdated.  Recommended version.

IDataGraphBase Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > ID > IDataGraphBase Interface
ArcGIS Developer Help

IDataGraphBase Interface

Provides access to members that control the data graph.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Name Description
Method CopyToClipboard Copies the data graph to the clipboard as a metafile.
Method DrawToDC Draws the data graph into the provided device context.
Method ExportToFile Exports the data graph to a file.
Method LoadFromFile Loads the data graph from a .grf file.
Read/write property Name Name of the data graph.
Method Reload Reloads data values in data graph series.
Method SaveToFile Saves the data graph to a .grf file.
Read/write property UseSelectedSet Indicates if the selected set of the series from input dataset is used to build graph.

Classes that implement IDataGraphBase

Classes Description
DataGraphT (esriCartoUI) A container for the display and manipulation of graph series.
DataGraphTScatterPlotMatrix (esriCartoUI) A container for the display and manipulation of ScatterPlotMatrix graph.


The IDataGraphBase interface is a common interface for both DataGraph and DataGraphT CoClasses. It provides access to basic functionality for graph such as copy, draw, export, load, rename, and save. It also handles selection for graph.

.NET Samples

Time Series Graph tool add-in