As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.
Join the TIBCO Community TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.
From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
Request access to the private WebFOCUS User Group (login required) to network with fellow members.
Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.
Not sure if you have encountered this before. I have done a gauge graph, and everything seems to be working fine, excpet that for some absurd reason "5" is being displayed as "1".
If I have the axis values as 45, 50, 55, 60, 65...then it comes up like 41, 10, 11, 60, 61..
Then when I display the data in the graph, I am using the following syntax:
SET HAXIS=210, VAXIS=210 GRAPH FILE DSHDATA SUM UTILIZATION_VALUE ACROSS WEEK_OUT_TXT WHERE WEEK_OUT_NUMBER EQ 1 ON GRAPH SET LOOKGRAPH GAUGE1 ON GRAPH SET GRAPHEDIT SERVER ON GRAPH SET BARNUMB OFF ON GRAPH SET 3D OFF ON GRAPH SET VZERO ON ON GRAPH SET GRID ON ON GRAPH PCHOLD FORMAT PNG ON GRAPH SET GRAPHSTYLE * setDisplay(getGaugeTitle(),false);
setGaugeBandMin(getGaugeBand1(), &REDMIN1 ); setGaugeBandMax(getGaugeBand1(), &AMBMIN1 ); setGaugeBandMin(getGaugeBand2(), &AMBMIN1 ); setGaugeBandMax(getGaugeBand2(), &GRNMIN1 ); setGaugeBandMin(getGaugeBand3(), &GRNMIN1 ); setGaugeBandMax(getGaugeBand3(), &GRNMAX1 ); setGaugeBandMin(getGaugeBand4(), &PROJL1 ); setGaugeBandMax(getGaugeBand4(), &PROJU1 ); setY1ScaleMin( &REDMIN1 ); setY1ScaleMax( &GRNMAX1 ); setFillColor(getGaugeBand1(), new Color(255,0,0)); setFillColor(getGaugeBand2(), new Color(250,200,0)); setFillColor(getGaugeBand3(), new Color(0,255,0)); setFillColor(getGaugeBand4(), new Color(20,20,255)); setFillColor(getGaugeNeedle(), new Color(120,120,120)); setDisplay(getGaugeBand5(),false);
When I execute the same fex by hardcoding the values (that I received using the TYPE statement), the values didplayed are proper ("5" is being displayed)
But if I go along with the mormal mode (without hardcoding; by using the variables from READ, all "5" seem to ge converted to "1" at display time).
I hope I was able to explain the scenario properly. Please suggest if I might be missing out on something
By mimicing your data and then running your graph against it I get no problems with the values on the bands. Although the max and mix settings didn't appear to work.
OK it's only a single row reproduction and I had to guess the AVE value but it should give an idea!
Not sure if I expected this... Just check out this car example, same issue is coming up. I used the same format, but with hardcoding of the values. But in my graph also the fives are coming up as ones.
SET HAXIS=210, VAXIS=210 GRAPH FILE CAR SUM COMPUTE ANY_VALUE1/D6.1 = 88.3; AS '' ACROSS COUNTRY WHERE COUNTRY EQ 'ENGLAND' ON GRAPH SET LOOKGRAPH GAUGE1 ON GRAPH SET GRAPHEDIT SERVER ON GRAPH SET BARNUMB OFF ON GRAPH SET 3D OFF ON GRAPH SET VZERO ON ON GRAPH SET GRID ON ON GRAPH PCHOLD FORMAT PNG ON GRAPH SET GRAPHSTYLE * setDisplay(getGaugeTitle(),false);
setGaugeBandMin(getGaugeBand1(), &REDMIN1.EVAL ); setGaugeBandMax(getGaugeBand1(), &AMBMIN1.EVAL ); setGaugeBandMin(getGaugeBand2(), &AMBMIN1.EVAL ); setGaugeBandMax(getGaugeBand2(), &GRNMIN1.EVAL ); setGaugeBandMin(getGaugeBand3(), &GRNMIN1.EVAL ); setGaugeBandMax(getGaugeBand3(), &GRNMAX1.EVAL ); setGaugeBandMin(getGaugeBand4(), &PROJL1.EVAL ); setGaugeBandMax(getGaugeBand4(), &PROJU1.EVAL ); setY1ScaleMin( &REDMIN1.EVAL ); setY1ScaleMax( &GRNMAX1.EVAL ); setFillColor(getGaugeBand1(), new Color(255,0,0)); setFillColor(getGaugeBand2(), new Color(250,200,0)); setFillColor(getGaugeBand3(), new Color(0,255,0)); setFillColor(getGaugeBand4(), new Color(20,20,255)); setFillColor(getGaugeNeedle(), new Color(120,120,120)); setDisplay(getGaugeBand5(),false);
Anyone got any leads on this??? I am not finding any way out of this...
Its got something to do with the way Webfocus treats the values when displaying in graphs. Even though it is being shown as ones, it still understands and presents as if it were fives.
Simple reason being that 81 is coming right in the middle of 80 and 90, and so on...