1 R. Ching, Ph.D. MIS Area California State University, Sacramento Week 13 April 26 Pseudo...
-
Upload
eustacia-douglas -
Category
Documents
-
view
213 -
download
0
description
Transcript of 1 R. Ching, Ph.D. MIS Area California State University, Sacramento Week 13 April 26 Pseudo...
1
R. Ching, Ph.D. • MIS Area • California State University, Sacramento
Week 13Week 13April 26April 26
• Pseudo Drill-Down GraphsPseudo Drill-Down Graphs
2
R. Ching, Ph.D. • MIS Area • California State University, Sacramento
Problem with Multiple YearsProblem with Multiple Years
• The drill-down graph requires two parametersThe drill-down graph requires two parameters– Host variable for the specific slice in the pieHost variable for the specific slice in the pie– Lexical reference variable to the columnLexical reference variable to the column
• Only one parameter can be sent to the drill-down graph Only one parameter can be sent to the drill-down graph with OG.MOUSEDOWNwith OG.MOUSEDOWN– Symptom: When a slice is clicked, the drill-down graph Symptom: When a slice is clicked, the drill-down graph
reverts to its default valuesreverts to its default values• Solution:Solution: Two separate graphs controlled by list boxes Two separate graphs controlled by list boxes
3
R. Ching, Ph.D. • MIS Area • California State University, Sacramento
The Work-AroundThe Work-Around
4
R. Ching, Ph.D. • MIS Area • California State University, Sacramento
Two chart areasTwo chart areas
Specifies the record label for the yearSpecifies the record label for the year
Specifies the yearSpecifies the year
What the Form Will Look LikeWhat the Form Will Look Like
5
R. Ching, Ph.D. • MIS Area • California State University, Sacramento
Change the yearChange the year
6
R. Ching, Ph.D. • MIS Area • California State University, Sacramento
Create Two Chart ItemsCreate Two Chart Items
7
R. Ching, Ph.D. • MIS Area • California State University, Sacramento
In Graphics Builder…In Graphics Builder…
First GraphFirst Graph
8
R. Ching, Ph.D. • MIS Area • California State University, Sacramento
Create the First GraphCreate the First Graph
Data modelData model
9
R. Ching, Ph.D. • MIS Area • California State University, Sacramento
Refined GraphRefined Graph
10
R. Ching, Ph.D. • MIS Area • California State University, Sacramento
Select “Parameters”Select “Parameters”
Click on create (“+”)Click on create (“+”)
Create the lexical reference variableCreate the lexical reference variable
Create Lexical Reference VariableCreate Lexical Reference Variable
11
R. Ching, Ph.D. • MIS Area • California State University, Sacramento
Lexical Reference VariableLexical Reference Variable
12
R. Ching, Ph.D. • MIS Area • California State University, Sacramento
13
R. Ching, Ph.D. • MIS Area • California State University, Sacramento
Replace column name with Replace column name with lexical reference variablelexical reference variable
Execute the queryExecute the query
14
R. Ching, Ph.D. • MIS Area • California State University, Sacramento
Test the GraphTest the Graph
15
R. Ching, Ph.D. • MIS Area • California State University, Sacramento
Create OGR FileCreate OGR File
16
R. Ching, Ph.D. • MIS Area • California State University, Sacramento
In Graphics Builder…In Graphics Builder…
The Second GraphThe Second Graph
17
R. Ching, Ph.D. • MIS Area • California State University, Sacramento
Create Lexical Reference VariableCreate Lexical Reference Variable
Host variable Host variable (will be used (will be used to specify a to specify a particular particular record label)record label)
18
R. Ching, Ph.D. • MIS Area • California State University, Sacramento
Lexical Lexical reference reference variable (will variable (will be used to be used to specify the specify the sales revenue sales revenue year column)year column)
19
R. Ching, Ph.D. • MIS Area • California State University, Sacramento
Initial Data ModelInitial Data Model
20
R. Ching, Ph.D. • MIS Area • California State University, Sacramento
Select Graph TypeSelect Graph Type
21
R. Ching, Ph.D. • MIS Area • California State University, Sacramento
Change Independent VariableChange Independent Variable
22
R. Ching, Ph.D. • MIS Area • California State University, Sacramento
Change Independent VariableChange Independent Variable
23
R. Ching, Ph.D. • MIS Area • California State University, Sacramento
Initial GraphInitial Graph
24
R. Ching, Ph.D. • MIS Area • California State University, Sacramento
In Form Builder…In Form Builder…
25
R. Ching, Ph.D. • MIS Area • California State University, Sacramento
Program the Trigger for the First GraphProgram the Trigger for the First Graph
26
R. Ching, Ph.D. • MIS Area • California State University, Sacramento
PL/SQL CodePL/SQL Code
Commented outCommented out
27
R. Ching, Ph.D. • MIS Area • California State University, Sacramento
Test the GraphTest the Graph
28
R. Ching, Ph.D. • MIS Area • California State University, Sacramento
Program the Trigger for the Second GraphProgram the Trigger for the Second Graph
29
R. Ching, Ph.D. • MIS Area • California State University, Sacramento
PL/SQL CodePL/SQL Code
Use for debuggingUse for debugging2 parameters2 parameters
30
R. Ching, Ph.D. • MIS Area • California State University, Sacramento
Use for debuggingUse for debugging
31
R. Ching, Ph.D. • MIS Area • California State University, Sacramento
Test the FormTest the Form
Default line graphDefault line graph
32
R. Ching, Ph.D. • MIS Area • California State University, Sacramento