Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VBRSTK1 graph & color correspondent

Status
Not open for further replies.
Apr 3, 2005
32
0
0
US
Normally, this is what I would expect as the result on the VBRSTK1 color graph.
Not Ready = 6 (green)
Schedule = 7 (pink)
Available = 4 (blue)

But when I have the following data:

Not Ready = 8 (blue)
Schedule = 5 (green)

Then my VBRSTK1 graph is all messed up in color because it doesn't have all
the categories...

I've tried using MISSING VALUE VZERO=OFF, but that doesn't seem to work.

Is there a way to program the stack graph to accept one color for each work
category (Not Ready, Schedule, Available)??? That way, this is how it should look

Not Ready = 8 (green)
Schedule = 5 (pink)

Thank you.
 
I'm not sure what your graph request looks like, but my guess is that your categories are in one field. If they are, you may want to define separate fields for each category and set a color for the field using the example below.

Code:
GRAPH FILE CAR
SUM SALES RETAIL_COST DEALER_COST
BY COUNTRY
ON GRAPH SET LOOKGRAPH VBRSTK1
ON GRAPH SET STYLE *
TYPE=DATA, COLUMN=SALES, COLOR=RED,$
TYPE=DATA, COLUMN=RETAIL_COST, COLOR=GREEN,$
TYPE=DATA, COLUMN=DEALER_COST, COLOR=BLUE,$
ENDSTYLE
END
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top