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.
I have a VLINE chart which shows the data for 12 months. The chart is working good but when I do mouse over to see the data value on tooltip it is not showing for the last plot.
For ex: If the graph shows the data from Jan to Dec, the tooltip is not showing the data for Dec.
How can I get that value displayed?
Sample Code: In the attached sample code, if you see the chart it won't show the tooltip data value for November.
DEFINE FILE GGSALES DISPMON/A3=IF ST EQ 'CA' THEN 'Jan' ELSE IF ST EQ 'CT' THEN 'Feb' ELSE IF ST EQ 'FL' THEN 'Mar' ELSE IF ST EQ 'GA' THEN 'Apr' ELSE IF ST EQ 'IL' THEN 'May' ELSE IF ST EQ 'MA' THEN 'Jun' ELSE IF ST EQ 'MO' THEN 'Jul' ELSE IF ST EQ 'NY' THEN 'Aug' ELSE IF ST EQ 'TN' THEN 'Sep' ELSE IF ST EQ 'TX' THEN 'Oct' ELSE IF ST EQ 'WA' THEN 'Nov' ELSE 'Dec'; DISPMON2/I2=IF DISPMON EQ 'Jan' THEN 1 ELSE IF DISPMON EQ 'Feb' THEN 2 ELSE IF DISPMON EQ 'Mar' THEN 3 ELSE IF DISPMON EQ 'Apr' THEN 4 ELSE IF DISPMON EQ 'May' THEN 5 ELSE IF DISPMON EQ 'Jun' THEN 6 ELSE IF DISPMON EQ 'Jul' THEN 7 ELSE IF DISPMON EQ 'Aug' THEN 8 ELSE IF DISPMON EQ 'Sep' THEN 9 ELSE IF DISPMON EQ 'Oct' THEN 10 ELSE IF DISPMON EQ 'Nov' THEN 11 ELSE IF DISPMON EQ 'Dec' THEN 12 ELSE 0;
PRODCNT/I5=IF ST EQ LAST ST THEN 1 ELSE PRODCNT + 1; END
SET HAXIS=500 SET VAXIS=150 SET LOOKGRAPH=VLINE SET GRMERGE=ON SET 3D=OFF GRAPH FILE GGSALES SUM PRODCNT AS '' BY DISPMON2 NOPRINT BY DISPMON AS '' ON TABLE SET STYLE * TYPE=REPORT,SIZE=9,FONT='ARIAL',GRID=OFF,$ ENDSTYLE ON GRAPH SET GRAPHEDIT SERVER ON GRAPH SET BARNUMB OFF ON GRAPH SET VZERO OFF ON GRAPH SET GRID OFF ON GRAPH SET GRAPHSTYLE * setPlace(true); setSubtitleString("New Submitted"); setTextJustHoriz(getSubtitle(),0); setFontSizeAbsolute(getSubtitle(),true); setFontSize(getSubtitle(),15); setFillColor(getChartBackground(), new Color(255,255,255)); setO1AxisSide(1); setFrameDisplay(false); setLegendDisplay(false); setDisplay(getO1MajorGrid(),false); setMarkerSize(getSeries(0),0); setMarkerSize(getSeries(1),0); setPlace(false); ENDSTYLE END -EXIT
Thanks for your help.This message has been edited. Last edited by: Kamesh,
WFConsultant
WF 8105M on Win7/Tomcat
Posts: 780 | Location: Florida | Registered: January 09, 2005
I moved some stuff around, as follows, and it seems to work:
END
-*SET HAXIS=500
-*SET VAXIS=150
-*SET LOOKGRAPH=VLINE
-*SET GRMERGE=ON
SET 3D=OFF
GRAPH FILE GGSALES
SUM
PRODCNT AS ''
BY DISPMON2 NOPRINT
BY DISPMON AS ''
ON GRAPH SET HAXIS 500
ON GRAPH SET VAXIS 150
ON GRAPH SET LOOKGRAPH VLINE
ON GRAPH SET GRMERGE ON
ON GRAPH SET GRAPHEDIT SERVER
ON GRAPH SET BARNUMB OFF
ON GRAPH SET VZERO OFF
ON GRAPH SET GRID OFF
ON GRAPH SET STYLE *
TYPE=REPORT,SIZE=9,FONT='ARIAL',GRID=OFF,$
In FOCUS Since 1983 ~ from FOCUS to WebFOCUS. Current: WebFOCUS Administrator at FIS Worldpay | 8204, 8206
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005
I need to do some manipulation on the data, that's why I didn't use the GUI but if I get any question or issues, I will go to GUI to test it by using the samples.
If you have the connectmarkers to TRUE then you can see the plot for last value but we don't want to show the connect markers. If you add my graph properties on your sample, then you will get the same result as I get.
Thanks
WFConsultant
WF 8105M on Win7/Tomcat
Posts: 780 | Location: Florida | Registered: January 09, 2005
*sigh* seems to me that easy to set up (non-coding), working (!) and 'good-looking' graphs will never go hand in hand with WebFOCUS... will need to use other software for such results now
WebFOCUS 8105m Windows 7, All Outputs
Member of the Benelux Usergroup
Posts: 198 | Location: Amsterdam | Registered: August 24, 2011
Years ago there used to be an issue that depended where you positioned the mouse for the hover to be triggered. I guess it's always been a question of "where does the change point occur for tooltips?). If I remember correctly (no certainty of that now-a-days ) it occured closer to the latter data point.
It looks as though the trigger point is about 3/4s the distance between the data points.
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