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.
Series 0 on Y1 (Bar) Series 1 on Y2 (Line) Series 2 on Y2 (Would like to show points only when value is available and without connecting the points.)
Issue 1: I need to connect the line markers for series one, but not for series two. I have tried the following code, but both remain connected. setConnectLineMarkers(getSeries(1),(true)); setConnectLineMarkers(getSeries(2),(false));
Issue2: When the value is not available, 0 is being graphed. I have set VZERO=OFF and setFillMissingData(0), but points are still graphed as 0.
Any help will be greatly appreciated.
Thanks!
WF 766 Win2K
Posts: 50 | Location: North Carolina | Registered: May 16, 2006
Below is a sample of code the I gave to allow max and min point being shown witin a graph. It has three series with the second and third only showing point when they exist. The code you need for not showing point when they do not physically exist is the VZERO setting - note that the values are set to missing as opposed to 0 when you don't want them to be shown.
No doubt J.G. will be along in a minute with the various java codes to change the settings etc. but this might give you a start
TABLE FILE CAR
SUM MAX.RCOST
MIN.RCOST
ON TABLE SAVE AS MAXMIN FORMAT ALPHA
END
-RUN
-READ MAXMIN &MaxRcost.I7. &MinRcost.I7.
-RUN
GRAPH FILE CAR
SUM RCOST
COMPUTE IS_MAX/D12.2 MISSING ON = IF RCOST EQ &MaxRcost THEN RCOST ELSE MISSING; AS 'Max'
COMPUTE IS_MIN/D12.2 MISSING ON = IF RCOST EQ &MinRcost THEN RCOST ELSE MISSING; AS 'Min'
BY MODEL
ON GRAPH SET GRAPHEDIT OFF
ON GRAPH SET 3D OFF
ON GRAPH SET VZERO OFF
ON GRAPH SET GRAPHSTYLE *
setGraphType(41);
setMarkerSize(0,0);
ENDSTYLE
END
T
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004
Tony, thanks so much for your reply. I had to take a little break from this graph. I still can't get it to do what I need. I did find that in a different graph (VLINE), I was able to change the setLineWidth to keep the line from appearing, but the command does not seem to work for the VBAR2AX.
I had put in a request to customer support regarding gaps and the VZERO command. I received the following response from customer support - "Gaps with line graphs are not allowed. In this case VZERO or setFillMissingData(0) would not be able to help you. We have a graph type called scatter that resembles something you want to acomplish. However, scatter type graph can not be positioned on the same coordinate system as bar/line chart. The only acceptable substitutions are bars, lines and area graphs. Let me research it further to see if I can find any workarounds for this issue."
Thanks again for your help.
WF 766 Win2K
Posts: 50 | Location: North Carolina | Registered: May 16, 2006