Graph Members

Graphics Document.

Functions

Name Description
Activate Makes the graph the top-most document.
AddEvent Adds event code from the specified file to the document.
BrushSubset Creates a subset of all brushed cases.
Close Closes the graph.
Copy Copies the graph to the clipboard.
Cut Cuts the graph to the clipboard.
DecreaseFont -
ExportEx Exports to image with extended information. Return value: Variant.
ExportSVG Exports to SVG image with optional WebStatistica information.
GetLastMouseClickedCoordinates -
GetLastMouseClickedPoint -
GetMargins Returns the margins for printing in twips.
IncreaseFont -
MergeGraph Merges another graph into the exiting Graph.
Paste Pastes the contents of the clipboard into the graph.
PrintOut Prints the graph.
Recalculate Forces the Graph to update.
ReplaceContent Replaces the content of one Graph with another.
RunEvent Run the event.
Save Saves the document.
SaveAs Saves the document. Return value: Boolean.
SaveAsFormat Saves the document as specified format. Return value: Boolean.
SaveAsPDF Saves the graph as a PDF file to the specified file path. Return value: Boolean.
SaveAsPDFCustom Saves the graph as a PDF file, with custom length and width (in 10ths of millimeters), to the specified file path. Return value: Boolean.
SaveAsPDFEx Saves the graph as a PDF file, with orientation, to the specified file path. Return value: Boolean.
SaveAsVersion6X Saves the document as version 6.X file. Return value: Boolean.
SaveAsVersion7X Saves the document as version 7.X file. Return value: Boolean.
SetMargins Sets the margins for printing in twips.
ShowGraphOptionsDialog Return value: Boolean.

Properties

Name Description
AnalysisExplorer Return value: Object. This property is read only.
Application Returns application object. Return value: Application. This property is read only.
AutoRunEvent Returns/sets whether the event code of a document will automatically run when the document is opened. Return/assignment value: Boolean.
Brushing Return a brushing object. Return value: Brushing. This property is read only.
Content Use TypeContent property before. Return value: Object. This property is read only.
ContentData Get the content data in a specified format. Return value: Variant. This property is read only.
ContentDataEx Returns the content data in a specified format and size. Return value: Variant. This property is read only.
DefPointState Return value: unsigned hyper. This property is read only.
DisplayGraphActualSize Returns/sets property to always display Graph in its actual size. Return/assignment value: Boolean.
DocumentMetrics Returns/sets various graph layout measurements (e.g., margin information). Return value: DocumentMetrics. This property is read only.
EventCode Returns/sets the event code of a document. Return/assignment value: String.
EventRunning Return true if the event is running, otherwise return false. Return value: Boolean. This property is read only.
ExternalResolution Return/assignment value: Integer.
ExtraObjects Returns the collection of embedded objects (including shapes and legends) within the graph. Return value: GraphicsObjects. This property is read only.
FirstPlotVariable Return value: Variable. This property is read only.
FirstPlotVariablesCount Return value: Long. This property is read only.
FullName Returns full path with a file name. Return value: String. This property is read only.
GraphElementAt Return value: Object. This property is read only.
GraphObject Returns a pointer to the graph. Return value: GraphObject. This property is read only.
GraphWindow Returns the window of the graph. Return value: GraphWindow. This property is read only.
Name Sets the text window name. Return/assignment value: String.
Parent Returns the parent of the object. Return value: Application. This property is read only.
Path Returns full path to the text window. Return value: String. This property is read only.
Plot Return value: Plot. This property is read only.
PlotsCount Return value: Long. This property is read only.
PointState Return value: unsigned hyper. This property is read only.
PointsClicked Returns the points that were clicked on the last click. Return value: PointCollection. This property is read only.
PrintFooter Returns/sets the document footer used when printing. Return/assignment value: String.
PrintHeader Returns/sets the document header used when printing. Return/assignment value: String.
ReadOnly Returns whether the graph was opened as read-only. Return value: Boolean. This property is read only.
Saved Specifies whether the graph has been saved or not. Return/assignment value: Boolean.
SelectedObject Returns the selected object in the graph. Return value: Object. This property is read only.
Titles Returns the titles of the graph. Return value: Titles. This property is read only.
TypeContent Returns the type of content located within the graph. Return value: GraphicsContentType. This property is read only.
Visible Makes the graph visible. Return/assignment value: Boolean.
Window Return a window object. Return value: Window. This property is read only.
WorkbookItem Returns the WorkbookItem interface if the object is in a Workbook. Return value: WorkbookItem. This property is read only.

Events

Name Description
Activate -
BeforeAddToWorkbook Called before graph is added to a workbook.
BeforeClose -
BeforeDoubleClick -
BeforePrint -
BeforeRightClick -
BeforeSave -
CaseStatesChange -
Deactivate -
OnCalculateFit2D -
OnCalculateFit3D -
OnClose -
OnEODrag Called during Graphics Extra Object dragging.
OnEODragEnd Called after a Graphics Extra Object ends dragging.
OnEODragSelect Called before a Graphics Extra Object starts to drag.
OnGroupingSelect Called when a category is selected.
OnLegendSelect Called when clicking on a plot legend.
OnPointSelect Called when clicking on a point.
OnReferenceLineMoved Called when a reference line has been moved.
OnScaleChange Called when axis scale changes.
OnToolTipDisplay -
Open -
SelectionChange -