com.esri.arcgis.carto
Interface IDataGraph

All Superinterfaces:
Serializable
All Known Implementing Classes:
IDataGraphProxy

public interface IDataGraph
extends Serializable

Obsolete. Provides access to members that control the old data graph.

Product Availability

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


Method Summary
 void attach(int hWnd)
          Attaches the DataGraph to the input window.
 void copyToClipboard()
          Copies the graph to the clipboard.
 void detach()
          Detaches the DataGraph from its current window.
 void draw()
          Updates the display of the graph based upon the associated map's current settings.
 void drawToDC(int hDC, tagRECT pOutputRect, tagRECT pGraphRect)
          Draws the graph to the input device context.
 void exportToFile(String filename)
          Exports the graph to a file.
 int getCGraphHandle()
          The CGraph handle.
 String getFieldSet1()
          First field set as a comma delimited list.
 String getFieldSet2()
          Second field set as a comma delimited list.
 String getFieldSet3()
          Third field set as a comma delimited list.
 String getFieldSet4()
          Fourth field set as a comma delimited list.
 int getMaxDataPoints()
          Maximum number of features to make the graph.
 String getName()
          Name of the graph.
 ITable getTable()
          The table of the graph.
 boolean isPreviewMode()
          Indicates if the graph is in preview mode.
 boolean isReloadAlways()
          Indicates if the graph is always reloaded.
 boolean isSeriesByRecord()
          Indicates if the records or fields for the data series is used.
 boolean isUseSelectedSet()
          Indicates if the selected set is used.
 boolean isValid()
          Indicates if the graph is currently valid.
 void loadFromFile(String filename)
          Loads the graph from a file.
 void print()
          Prints the graph.
 void reload()
          Loads data values from a table.
 void resize(int nType, int width, int height)
          Resizes the graph display.
 void saveToFile(String filename)
          Saves the graph to a file.
 void setFieldSet1(String pFields)
          First field set as a comma delimited list.
 void setFieldSet2(String pFields)
          Second field set as a comma delimited list.
 void setFieldSet3(String pFields)
          Third field set as a comma delimited list.
 void setFieldSet4(String pFields)
          Fourth field set as a comma delimited list.
 void setMaxDataPoints(int pMaxPoints)
          Maximum number of features to make the graph.
 void setName(String pName)
          Name of the graph.
 void setPreviewMode(boolean pPreview)
          Indicates if the graph is in preview mode.
 void setReloadAlways(boolean pReloadAlways)
          Indicates if the graph is always reloaded.
 void setSeriesByRecord(boolean pByRecord)
          Indicates if the records or fields for the data series is used.
 void setTableByRef(ITable ppTable)
          The table of the graph.
 void setUseSelectedSet(boolean pUseSel)
          Indicates if the selected set is used.
 

Method Detail

isValid

boolean isValid()
                throws IOException,
                       AutomationException
Indicates if the graph is currently valid.

Product Availability

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

Returns:
The pValid
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

attach

void attach(int hWnd)
            throws IOException,
                   AutomationException
Attaches the DataGraph to the input window.

Product Availability

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

Parameters:
hWnd - The hWnd (A COM typedef) (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

detach

void detach()
            throws IOException,
                   AutomationException
Detaches the DataGraph from its current window.

Product Availability

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

Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getName

String getName()
               throws IOException,
                      AutomationException
Name of the graph.

Product Availability

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

Returns:
The pName
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setName

void setName(String pName)
             throws IOException,
                    AutomationException
Name of the graph.

Product Availability

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

Parameters:
pName - The pName (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTable

ITable getTable()
                throws IOException,
                       AutomationException
The table of the graph.

Product Availability

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

Returns:
A reference to a com.esri.arcgis.geodatabase.ITable
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setTableByRef

void setTableByRef(ITable ppTable)
                   throws IOException,
                          AutomationException
The table of the graph.

Product Availability

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

Parameters:
ppTable - A reference to a com.esri.arcgis.geodatabase.ITable (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isUseSelectedSet

boolean isUseSelectedSet()
                         throws IOException,
                                AutomationException
Indicates if the selected set is used.

Product Availability

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

Returns:
The pUseSel
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setUseSelectedSet

void setUseSelectedSet(boolean pUseSel)
                       throws IOException,
                              AutomationException
Indicates if the selected set is used.

Product Availability

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

Parameters:
pUseSel - The pUseSel (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isSeriesByRecord

boolean isSeriesByRecord()
                         throws IOException,
                                AutomationException
Indicates if the records or fields for the data series is used.

Product Availability

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

Returns:
The pByRecord
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSeriesByRecord

void setSeriesByRecord(boolean pByRecord)
                       throws IOException,
                              AutomationException
Indicates if the records or fields for the data series is used.

Product Availability

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

Parameters:
pByRecord - The pByRecord (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isReloadAlways

boolean isReloadAlways()
                       throws IOException,
                              AutomationException
Indicates if the graph is always reloaded.

Product Availability

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

Returns:
The pReloadAlways
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setReloadAlways

void setReloadAlways(boolean pReloadAlways)
                     throws IOException,
                            AutomationException
Indicates if the graph is always reloaded.

Product Availability

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

Parameters:
pReloadAlways - The pReloadAlways (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMaxDataPoints

int getMaxDataPoints()
                     throws IOException,
                            AutomationException
Maximum number of features to make the graph.

Product Availability

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

Returns:
The pMaxPoints
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMaxDataPoints

void setMaxDataPoints(int pMaxPoints)
                      throws IOException,
                             AutomationException
Maximum number of features to make the graph.

Product Availability

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

Parameters:
pMaxPoints - The pMaxPoints (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFieldSet1

String getFieldSet1()
                    throws IOException,
                           AutomationException
First field set as a comma delimited list.

Product Availability

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

Returns:
The pFields
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setFieldSet1

void setFieldSet1(String pFields)
                  throws IOException,
                         AutomationException
First field set as a comma delimited list.

Product Availability

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

Parameters:
pFields - The pFields (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFieldSet2

String getFieldSet2()
                    throws IOException,
                           AutomationException
Second field set as a comma delimited list.

Product Availability

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

Returns:
The pFields
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setFieldSet2

void setFieldSet2(String pFields)
                  throws IOException,
                         AutomationException
Second field set as a comma delimited list.

Product Availability

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

Parameters:
pFields - The pFields (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFieldSet3

String getFieldSet3()
                    throws IOException,
                           AutomationException
Third field set as a comma delimited list.

Product Availability

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

Returns:
The pFields
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setFieldSet3

void setFieldSet3(String pFields)
                  throws IOException,
                         AutomationException
Third field set as a comma delimited list.

Product Availability

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

Parameters:
pFields - The pFields (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFieldSet4

String getFieldSet4()
                    throws IOException,
                           AutomationException
Fourth field set as a comma delimited list.

Product Availability

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

Returns:
The pFields
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setFieldSet4

void setFieldSet4(String pFields)
                  throws IOException,
                         AutomationException
Fourth field set as a comma delimited list.

Product Availability

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

Parameters:
pFields - The pFields (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isPreviewMode

boolean isPreviewMode()
                      throws IOException,
                             AutomationException
Indicates if the graph is in preview mode.

Product Availability

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

Returns:
The pPreview
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPreviewMode

void setPreviewMode(boolean pPreview)
                    throws IOException,
                           AutomationException
Indicates if the graph is in preview mode.

Product Availability

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

Parameters:
pPreview - The pPreview (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

resize

void resize(int nType,
            int width,
            int height)
            throws IOException,
                   AutomationException
Resizes the graph display.

Product Availability

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

Parameters:
nType - The nType (in)
width - The width (in)
height - The height (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

reload

void reload()
            throws IOException,
                   AutomationException
Loads data values from a table.

Product Availability

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

Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

draw

void draw()
          throws IOException,
                 AutomationException
Updates the display of the graph based upon the associated map's current settings.

Product Availability

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

Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

drawToDC

void drawToDC(int hDC,
              tagRECT pOutputRect,
              tagRECT pGraphRect)
              throws IOException,
                     AutomationException
Draws the graph to the input device context.

Product Availability

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

Parameters:
hDC - The hDC (A COM typedef) (in)
pOutputRect - A Structure: com.esri.arcgis.display.tagRECT (in)
pGraphRect - A Structure: com.esri.arcgis.display.tagRECT (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

print

void print()
           throws IOException,
                  AutomationException
Prints the graph.

Product Availability

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

Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

loadFromFile

void loadFromFile(String filename)
                  throws IOException,
                         AutomationException
Loads the graph from a file.

Product Availability

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

Parameters:
filename - The filename (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

saveToFile

void saveToFile(String filename)
                throws IOException,
                       AutomationException
Saves the graph to a file.

Product Availability

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

Parameters:
filename - The filename (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

exportToFile

void exportToFile(String filename)
                  throws IOException,
                         AutomationException
Exports the graph to a file.

Product Availability

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

Parameters:
filename - The filename (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

copyToClipboard

void copyToClipboard()
                     throws IOException,
                            AutomationException
Copies the graph to the clipboard.

Product Availability

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

Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCGraphHandle

int getCGraphHandle()
                    throws IOException,
                           AutomationException
The CGraph handle. CGraph handle can only be used with C++ clients.

Product Availability

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

Returns:
The pCGraphHandle (A COM typedef)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.