Creates a graph of the specified type, using the application's
default settings.

C# | Visual Basic | Visual C++ |
Graph CreateGraph( GraphTypes type )
Function CreateGraph ( _ type As GraphTypes _ ) As Graph
Graph^ CreateGraph( GraphTypes type )

- type (GraphTypes)
- A member of GraphTypes enumeration showing the type of the graph.

The Graph object representing the newly created graph,
or null if unsuccessful.

GraphTypes.Both cannot be used in this context.