IDataGraphBase Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > ID > IDataGraphBase Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Carto)  

IDataGraphBase Interface

Provides access to members that control the data graph.

Product Availability

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

Members

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.

CoClasses that implement IDataGraphBase

CoClasses and 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.

Remarks

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 (Code Files: TimeSeriesGraph)