When you define a graph in the Window or User Object painter, you specify its behavior and appearance. For example, you might define a graph as a column graph with a certain title, divide its Value axis into four major divisions, and so on. Each of these entries corresponds to a property of a graph. For example, all graphs have an enumerated attribute GraphType, which specifies the type of graph.
When dynamically changing the graph type If you change the graph type, be sure to change other properties as needed to define the new graph properly.
You can change these graph properties at runtime by assigning values to the graph’s properties in scripts. For example, to change the type of the graph gr_emp to Column, you could code:
gr_emp.GraphType = ColGraph!
To change the title of the graph at runtime, you could code:
gr_emp.Title = "New title"