How parts of a graph are represented

Graphs consist of parts: a title, a legend, and axes. Each of these parts has a set of display properties. These display properties are themselves stored as properties in a subobject (structure) of Graph called grDispAttr.

For example, graphs have a Title property, which specifies the title’s text. Graphs also have a property TitleDispAttr, of type grDispAttr, which itself contains properties that specify all the characteristics of the title text, such as the font, size, whether the text is italicized, and so on.

Similarly, graphs have axes, each of which also has a set of properties. These properties are stored in a subobject (structure) of Graph called grAxis. For example, graphs have a property Values of type grAxis, which contains properties that specify the Value axis’s properties, such as whether to use autoscaling of values, the number of major and minor divisions, the axis label, and so on.

Here is a representation of the properties of a graph:

Graph
		int Height
		int Depth
		grGraphType GraphType
		boolean Border
		string Title
		…
grDispAttr TitleDispAttr, LegendDispAttr, PieDispAttr
		string FaceName
		int TextSize
		boolean Italic
		…
grAxis Values, Category, Series
		boolean AutoScale
		int MajorDivisions
		int MinorDivisions
		string Label
		…