This is a bad example but the only data I could demonstrate with. We have a benchmark that ALWAYS has a value. When the two values we are bar graphing is 0 the benchmark does not show. Basically if you look at Sedan in my example you will see how the Retail cost area does not show because there is no Dealer Cost or My Cost for Maserati.
How do we make the area show even when the values do not exists?
-*COMPONENT=Define_carolap DEFINE FILE baseapp/carolap MyCost/D12.2= CAROLAP.BODY.RETAIL_COST ; END ENGINE INT CACHE SET ON SET PAGE-NUM=NOLEAD -DEFAULTH &WF_HTMLENCODE=OFF; SET HTMLENCODE=&WF_HTMLENCODE
SET ARGRAPHENGINE=JSCHART -DEFAULTH &WF_EMPTYREPORT=ON; SET EMPTYREPORT=&WF_EMPTYREPORT
SET EMBEDHEADING=ON SET GRAPHDEFAULT=OFF -DEFAULTH &WF_STYLE_UNITS='PIXELS'; -DEFAULTH &WF_STYLE_HEIGHT='405.0'; -DEFAULTH &WF_STYLE_WIDTH='770.0';
-DEFAULTH &WF_TITLE='WebFOCUS Report'; GRAPH FILE baseapp/carolap -* Created by Info Assist for Graph SUM CAROLAP.BODY.RETAIL_COST CAROLAP.BODY.DEALER_COST MyCost BY CAROLAP.BODY.BODYTYPE BY CAROLAP.COMP.CAR ON GRAPH PCHOLD FORMAT JSCHART ON GRAPH SET VZERO OFF ON GRAPH SET GRWIDTH 1 ON GRAPH SET UNITS &WF_STYLE_UNITS ON GRAPH SET HAXIS &WF_STYLE_WIDTH ON GRAPH SET VAXIS &WF_STYLE_HEIGHT ON GRAPH SET LOOKGRAPH BAR ON GRAPH SET AUTOFIT ON ON GRAPH SET STYLE * *GRAPH_SCRIPT