Appendix A:
Graph Types and
3D Preset Viewing Angles


 

GRAPH TYPES

 

 

3D Graphs (TDG_GRAPH_3D)

 

 

2D Area (TDG_GRAPH_AREA)

 

 

2D Bar (TDG_GRAPH_BARS)

 

 

2D Line (TDG_GRAPH_LINES)

 

 

Pie (TDG_GRAPH_PIE)

 

 

Special (TDG_GRAPH_SPECIAL)

 

 

Table (TDG_GRAPH_TABLE)

 

PRESET VIEWING ANGLES FOR 3D GRAPHS

 

The tables in this appendix provide an illustration of each of the PGSDK graphs that can be selected with the A_GRAPH_PRESET property and each of the preset viewing angles that can be selected for 3D charts with the A3D_VIEWANGLES property:

 

Graph Types

 

Preset Viewing Angles

GRAPH TYPES

 

The graph type is set by the A_GRAPH_PRESET attribute. This attribute stores a major (nMajorType) and minor (nMinorType) graph type selection. The nMajorType value selects one of these graph categories:

 

3D Graphs (TDG_GRAPH_3D)

 

2D Area (TDG_GRAPH_AREA)

 

2D Bar (TDG_GRAPH_BARS)

 

2D Line (TDG_GRAPH_LINES)

 

Pie (TDG_GRAPH_PIE)

 

Special (TDG_GRAPH_SPECIAL)

 

Table (TDG_GRAPH_TABLE)

 

The minor (nMinorType) graph type selection chooses the specific graph type within each category.

 

For most 2D bar, line, and area graphs, the A2D_ORIENTATION attribute can be used to select a vertical or horizontal graph. The default value is vertical for all 2D bar, line, and area graphs.

3D Graphs (TDG_GRAPH_3D)

A_GRAPH_PRESET Values

Description

nMajorType = TDG_GRAPH_3D
nMinorType = THREE_D_BARS
// 3D Bars

nMajorType = TDG_GRAPH_3D (0)
nMinorType = THREE_D_CUBE (1)
// 3D Floating Cubes

nMajorType = TDG_GRAPH_3D (0)
nMinorType = THREE_D_CUTCORNER (2)
// 3D Riser Cut-Corner Bars

nMajorType = TDG_GRAPH_3D (0)
nMinorType = THREE_D_DIAMOND (3)
// 3D Floating Spheres

nMajorType = TDG_GRAPH_3D (0)
nMinorType = THREE_D_OCTAGON (4)
// 3D Riser Octogans

nMajorType = TDG_GRAPH_3D (0)
nMinorType = THREE_D_PYRAMID (5)
// 3D Riser Pyramid

nMajorType = TDG_GRAPH_3D (0)
nMinorType = THREE_D_SQUARE (6)
// 3D Riser - Squares

 

nMajorType = TDG_GRAPH_3D (0)
nMinorType = THREE_D_ROW_AREA (7)
// 3D Connect Series Area

nMajorType = TDG_GRAPH_3D (0)
nMinorType = THREE_D_ROW_LINE (8)
// 3D Connect Series Ribbon

nMajorType = TDG_GRAPH_3D (0)
nMinorType = THREE_D_ROW_STEP (9)
// 3D Connect Series Steps

nMajorType = TDG_GRAPH_3D (0)
nMinorType = THREE_D_COL_AREA (10)
// 3D Connect Group Area

nMajorType = TDG_GRAPH_3D (0)
nMinorType = THREE_D_COL_LINE (11)
// 3D Connect Group Ribbons

nMajorType = TDG_GRAPH_3D (0)
nMinorType = THREE_D_COL_STEP (12)
// 3D Connect Group - Steps

nMajorType = TDG_GRAPH_3D (0)
nMinorType = THREE_D_HONEYCOMB (13)
// 3D Honeycomb Surface

nMajorType = TDG_GRAPH_3D (0)
nMinorType = THREE_D_MODEL (14)
// 3D Model

 

nMajorType = TDG_GRAPH_3D (0)
nMinorType = THREE_D_SURFACE (15)
// 3D Surface

nMajorType = TDG_GRAPH_3D (0)
nMinorType = THREE_D_SCATTER (16)
// 3D X-Y-Z Scatter Chart

2D Area (TDG_GRAPH_AREA)

A_GRAPH_PRESET & A2D_ORIENTATION Values

Description

A_GRAPH_PRESET
nMajorType = TDG_GRAPH_AREA (1)
nMinorType = AREA_ABSOLUTE (0)
A2D_ORIENTATION = TRUE
// Area/Absolute - Vertical

A_GRAPH_PRESET
nMajorType = TDG_GRAPH_AREA (1)
nMinorType = AREA_ABSOLUTE (0)
A2D_ORIENTATION = FALSE
// Area/Absolute - Horizontal

A_GRAPH_PRESET
nMajorType = TDG_GRAPH_AREA (1)
nMinorType = AREA_ABSOLUTE_DUALY (1)
A2D_ORIENTATION = TRUE
// Area/DualAxis Absolute - Vertical

A_GRAPH_PRESET
nMajorType = TDG_GRAPH_AREA (1)
nMinorType = AREA_ABSOLUTE_DUALY (1)
A2D_ORIENTATION = FALSE
// Area/DualAxis Absolute - Horizontal

A_GRAPH_PRESET
nMajorType = TDG_GRAPH_AREA (1)
nMinorType = AREA_ABSOLUTE_DUALY_BIPOLAR (3)
A2D_ORIENTATION = TRUE
// Area/BiPolar Absolute - Vertical

A_GRAPH_PRESET
nMajorType = TDG_GRAPH_AREA (1)
nMinorType = AREA_ABSOLUTE_DUALY_BIPOLAR (3)
A2D_ORIENTATION = FALSE
// Area/BiPolar Absolute - Horizontal

A_GRAPH_PRESET
nMajorType = TDG_GRAPH_AREA (1)
nMinorType = AREA_STACKED (4)
A2D_ORIENTATION = TRUE
// Area/Stacked - Vertical

A_GRAPH_PRESET
nMajorType = TDG_GRAPH_AREA (1)
nMinorType = AREA_STACKED (4)
A2D_ORIENTATION = FALSE
// Area/Stacked - Horizontal

A_GRAPH_PRESET
nMajorType = TDG_GRAPH_AREA (1)
nMinorType = AREA_STACKED_DUALY (5)
A2D_ORIENTATION = TRUE
// Area/DualAxis Stacked - Vertical

A_GRAPH_PRESET
nMajorType = TDG_GRAPH_AREA (1)
nMinorType = AREA_STACKED_DUALY (5)
A2D_ORIENTATION = FALSE
// Area/DualAxis Stacked - Horizontal

A_GRAPH_PRESET
nMajorType = TDG_GRAPH_AREA (1)
nMinorType = AREA_STACKED_DUALY_BIPOLAR (7)
A2D_ORIENTATION = TRUE
// Area/BiPolar Stacked - Vertical

A_GRAPH_PRESET
nMajorType = TDG_GRAPH_AREA (1)
nMinorType = AREA_STACKED_DUALY_BIPOLAR (7)
A2D_ORIENTATION = FALSE
// Area/BiPolar Stacked - Horizontal

A_GRAPH_PRESET
nMajorType = TDG_GRAPH_AREA (1)
nMinorType = AREA_PERCENT (12)
A2D_ORIENTATION = TRUE
// Area/Percent - Vertical

A_GRAPH_PRESET
nMajorType = TDG_GRAPH_AREA (1)
nMinorType = AREA_PERCENT (12)
A2D_ORIENTATION = FALSE
// Area/Percent - Horizontal

2D Bar (TDG_GRAPH_BARS)

A_GRAPH_PRESET and A2D_ORIENTATION Values

Description

A_GRAPH_PRESET
nMajorType = TDG_GRAPH_BARS (2)
nMinorType = BAR_STACKED (4)
A2D_ORIENTATION = TRUE
// Bar/Stacked - Vertical

A_GRAPH_PRESET
nMajorType = TDG_GRAPH_BARS (2)
nMinorType = BAR_STACKED (4)
A2D_ORIENTATION = FALSE
// Bar/Stacked - Horizontal

A_GRAPH_PRESET
nMajorType = TDG_GRAPH_BARS (2)
nMinorType = BAR_STACKED_DUALY (5)
A2D_ORIENTATION = TRUE
// Bar/DualAxis Stacked - Vertical

A_GRAPH_PRESET
nMajorType = TDG_GRAPH_BARS (2)
nMinorType = BAR_STACKED_DUALY (5)
A2D_ORIENTATION = FALSE
// Bar/DualAxis Stacked - Horizontal

A_GRAPH_PRESET
nMajorType = TDG_GRAPH_BARS (2)
nMinorType = BAR_STACKED_BIPOLAR (6)
A2D_ORIENTATION = TRUE
// Bar/BiPolar Stacked - Vertical

A_GRAPH_PRESET
nMajorType = TDG_GRAPH_BARS (2)
nMinorType = BAR_STACKED_BIPOLAR (6)
A2D_ORIENTATION = FALSE
// Bar/BiPolar Stacked - Horizontal

A_GRAPH_PRESET
nMajorType = TDG_GRAPH_BARS (2)
nMinorType = BAR_STACKED_DUALY_BIPOLAR (7)
A2D_ORIENTATION = TRUE
// Bar/DualAxis BiPolar Stacked - Vertical

 

A_GRAPH_PRESET
nMajorType = TDG_GRAPH_BARS (2)
nMinorType = BAR_SIDEBYSIDE (8)
A2D_ORIENTATION = TRUE
// Bar/Side by Side - Vertical

A_GRAPH_PRESET
nMajorType = TDG_GRAPH_BARS (2)
nMinorType = BAR_SIDEBYSIDE (8)
A2D_ORIENTATION = FALSE
// Bar/Side by Side - Horizontal

A_GRAPH_PRESET
nMajorType = TDG_GRAPH_BARS (2)
nMinorType = BAR_SIDEBYSIDE_DUALY (9)
A2D_ORIENTATION = TRUE
// Bar/DualAxis Side by Side - Vertical

A_GRAPH_PRESET
nMajorType = TDG_GRAPH_BARS (2)
nMinorType = BAR_SIDEBYSIDE_DUALY (9)
A2D_ORIENTATION = FALSE
// Bar/DualAxis Side by Side - Horizontal

A_GRAPH_PRESET
nMajorType = TDG_GRAPH_BARS (2)
nMinorType = BAR_SIDEBYSIDE_DUALY_BIPOLAR (11)
A2D_ORIENTATION = TRUE
// Bar/BiPolar Side by Side - Vertical

A_GRAPH_PRESET
nMajorType = TDG_GRAPH_BARS (2)
nMinorType = BAR_SIDEBYSIDE_DUALY_BIPOLAR (11)
A2D_ORIENTATION = FALSE
// Bar/BiPolar Side by Side - Horizontal

A_GRAPH_PRESET
nMajorType = TDG_GRAPH_BARS (2)
nMinorType = BAR_PERCENT (12)
A2D_ORIENTATION = TRUE
// Bar/ Percent - Vertical

A_GRAPH_PRESET
nMajorType = TDG_GRAPH_BARS (2)
nMinorType = BAR_PERCENT (12)
A2D_ORIENTATION = FALSE
// Bar/ Percent - Horizontal

2D Line (TDG_GRAPH_LINES)

A_GRAPH_PRESET and A2D_ORIENTATION Values

Description

A_GRAPH_PRESET
nMajorType = TDG_GRAPH_LINES (3)
nMinorType = LINE_ABSOLUTE ( 0)
A2D_ORIENTATION = TRUE
// Line/Absolute - Vertical

A_GRAPH_PRESET
nMajorType = TDG_GRAPH_LINES (3)
nMinorType = LINE_ABSOLUTE ( 0)
A2D_ORIENTATION = FALSE
// Line/Absolute - Horizontal

A_GRAPH_PRESET
nMajorType = TDG_GRAPH_LINES (3)
nMinorType = LINE_ABSOLUTE_DUALY (1)
A2D_ORIENTATION = TRUE
// Line/DualAxis Absolute - Vertical

A_GRAPH_PRESET
nMajorType = TDG_GRAPH_LINES (3)
nMinorType = LINE_ABSOLUTE_DUALY (1)
A2D_ORIENTATION = FALSE
// Line/DualAxis Absolute - Horizontal

A_GRAPH_PRESET
nMajorType = TDG_GRAPH_LINES (3)
nMinorType = LINE_ABSOLUTE_DUALY_BIPOLAR (3)
A2D_ORIENTATION = TRUE
// Line/BiPolar Absolute - Vertical

A_GRAPH_PRESET
nMajorType = TDG_GRAPH_LINES (3)
nMinorType = LINE_ABSOLUTE_DUALY_BIPOLAR (3)
A2D_ORIENTATION = FALSE
// Line/BiPolar Absolute - Horizontal

A_GRAPH_PRESET
nMajorType = TDG_GRAPH_LINES (3)
nMinorType = LINE_STACKED (4)
A2D_ORIENTATION = TRUE
// Line/Stacked - Vertical

A_GRAPH_PRESET
nMajorType = TDG_GRAPH_LINES (3)
nMinorType = LINE_STACKED (4)
A2D_ORIENTATION = FALSE
// Line/Stacked - Horizontal

A_GRAPH_PRESET
nMajorType = TDG_GRAPH_LINES (3)
nMinorType = LINE_STACKED_DUALY (5)
A2D_ORIENTATION = TRUE
// Line/DualAxis Stacked - Vertical

A_GRAPH_PRESET
nMajorType = TDG_GRAPH_LINES (3)
nMinorType = LINE_STACKED_DUALY (5)
A2D_ORIENTATION = FALSE
// Line/DualAxis Stacked - Horizontal

A_GRAPH_PRESET
nMajorType = TDG_GRAPH_LINES (3)
nMinorType = LINE_STACKED_DUALY_BIPOLAR (7)
A2D_ORIENTATION = TRUE
// Line/BiPolar Stacked - Vertical

A_GRAPH_PRESET
nMajorType = TDG_GRAPH_LINES (3)
nMinorType = LINE_STACKED_DUALY_BIPOLAR (7)
A2D_ORIENTATION = FALSE
// Line/BiPolar Stacked - Horizontal

A_GRAPH_PRESET
nMajorType = TDG_GRAPH_LINES (3)
nMinorType = LINE_PERCENT (12)
A2D_ORIENTATION = TRUE
// Line/Percent - Vertical

A_GRAPH_PRESET
nMajorType = TDG_GRAPH_LINES (3)
nMinorType = LINE_PERCENT (12)
A2D_ORIENTATION = FALSE
// Line/Percent - Horizontal

Pie (TDG_GRAPH_PIE)

A_GRAPH_PRESET Values

Description

nMajorType = TDG_GRAPH_PIE (4)
nMinorType = PIE_SINGLE (0)
// Pie

nMajorType = TDG_GRAPH_PIE (4)
nMinorType = PIE_SINGLE_RING (1)
// Ring Pie

nMajorType = TDG_GRAPH_PIE (4)
nMinorType = PIE_MULTIPLE (2)
// Multiple Pies

nMajorType = TDG_GRAPH_PIE (4)
nMinorType = PIE_MULTIPLE_PROPORTIONAL (3)
// Multiple Proportional Pies

nMajorType = TDG_GRAPH_PIE (4)
nMinorType = PIE_MULTIPLE_RING (4)
// Multiple Ring Pies

nMajorType = TDG_GRAPH_PIE (4)
nMinorType = 5
// Multiple Proportional Ring Pies

nMajorType = TDG_GRAPH_PIE (4)
nMinorType = PIE_BAR (6)
// Pie Bar

nMajorType = TDG_GRAPH_PIE (4)
nMinorType = 7
// Ring Pie Bar

Special (TDG_GRAPH_SPECIAL)

A_GRAPH_PRESET Values

Description

nMajorType = TDG_GRAPH_SPECIAL (5)
nMinorType = SPECIAL_HISTOGRAM (0)
// Histogram

nMajorType = TDG_GRAPH_SPECIAL (5)
nMinorType = SPECIAL_SPECTRAL (1)
// Spectral Map

nMajorType = TDG_GRAPH_SPECIAL (5)
nMinorType = SPECIAL_POLAR (2)
// Polar Coordinate Chart

nMajorType = TDG_GRAPH_SPECIAL (5)
nMinorType = SPECIAL_SCATTER (3)
// X-Y Scatter

nMajorType = TDG_GRAPH_SPECIAL (5)
nMinorType = SPECIAL_SCATTER_DUALY (4)
// DualAxis X-Y Scatter

nMajorType = TDG_GRAPH_SPECIAL (5)
nMinorType = SPECIAL_HILO (5)
// HiLo Stock Chart

nMajorType = TDG_GRAPH_SPECIAL (5)
nMinorType = SPECIAL_HILO_DUALY (6)
// HiLo DualAxis Stock Chart

nMajorType = TDG_GRAPH_SPECIAL (5)
nMinorType = 11
// DualAxis Polar Coordinate Chart

nMajorType = TDG_GRAPH_SPECIAL (5)
nMinorType = SPECIAL_RADAR_ABSOLUTE_LINE (12)
// Radar Line

nMajorType = TDG_GRAPH_SPECIAL (5)
nMinorType = SPECIAL_RADAR_STACKED_AREA(13)
// Radar Stacked Area

nMajorType = TDG_GRAPH_SPECIAL (5)
nMinorType = 14
// DualAxis Radar Line

nMajorType = TDG_GRAPH_SPECIAL (5)
nMinorType = 15
// DualAxis Radar Stacked Area

nMajorType = TDG_GRAPH_SPECIAL (5)
nMinorType = SPECIAL_BUBBLE (17)
// Bubble

nMajorType = TDG_GRAPH_SPECIAL (5)
nMinorType = 18
// Bubble DualAxis

nMajorType = TDG_GRAPH_SPECIAL (5)
nMinorType = SPECIAL_GANTT (19)
// Gantt Chart

nMajorType = TDG_GRAPH_SPECIAL (5)
nMinorType = SPECIAL_RADAR_ABSOLUTE_AREA (20)
//

 

nMajorType = TDG_GRAPH_SPECIAL (5)
nMinorType = SPECIAL_JAPANESE_STOCK (21)
//

 

nMajorType = TDG_GRAPH_SPECIAL (5)
nMinorType = SPECIAL_STEMLEAF (22)
//

 

nMajorType = TDG_GRAPH_SPECIAL (5)
nMinorType = SPECIAL_MULTIBAR (23)
//

 

nMajorType = TDG_GRAPH_SPECIAL (5)
nMinorType = SPECIAL_WATERFALL (24)
//

 

nMajorType = TDG_GRAPH_SPECIAL (5)
nMinorType = SPECIAL_WATERFALL_HORIZONTAL (25)
//

 

Table (TDG_GRAPH_TABLE)

A_GRAPH_PRESET Values

Description

nMajorType = TDG_GRAPH_TABLE (6)
// Table Chart

PRESET VIEWING ANGLES FOR 3D GRAPHS

A3D_VIEWANGLES VALUE

 

A3D_VIEWANGLES = 0
// Standard: 30/45 floor

A3D_VIEWANGLES =1
//Thick Standard: 30/30 floor, thicker walls than "0"

A3D_VIEWANGLES =2
// Low Thin: 60/30 fl, walls smooshed down low & thin

A3D_VIEWANGLES =3
// Near 1x3: 60/30 fl., closer than "0", riser proportions=1 to 3

A3D_VIEWANGLES =4
// Tall&Far: 30/45 floor, expanded height., graph further away

A3D_VIEWANGLES =5
// Group View: 80/10 floor, we face Group risers, thick RWall

A3D_VIEWANGLES =6
// NearGroup: 80/10 floor, closer view of "5"

A3D_VIEWANGLES =7
// SeriesView:10/80 fl, rotate "6": face Series risers

A3D_VIEWANGLES =8
// GroupStretch: z?-axis (group) stretch: riser proportions=1 to 6

A3D_VIEWANGLES =9
// SeriesStretch: x?-axis (series) stretch: riser proportions=6 to 1

A3D_VIEWANGLES =10
// Bird'sEye(LookDown): 45/45 floor

A3D_VIEWANGLES =11
// LowHigh: 30/45 floor, walls compressed down, hi angle view

A3D_VIEWANGLES =12
// LowLow: like "11" but slightly lower angle of view

A3D_VIEWANGLES =13
// TallDistortion: extended ht.(y-axis), extreme perspective

A3D_VIEWANGLES =14
// FloorDistort: 30/45 floor in "fish-eye" extreme perspective

A3D_VIEWANGLES =15
// Isometric: 30/30 floor, up close, iso.view =no perspective