Focal Point Banner


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.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Changing the frequency of the tooltip

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Changing the frequency of the tooltip
 Login/Join
 
Gold member
posted
I'm not sure exactly how to explain this or if there's a name for it, but I'd like to change the frequency of a tooltip on a graph. When I mouse over a certain part of a graph, I see certain dates on it, but the frequency is only every month. What I'd like to be able to do is to move my mouse and every be able to hover over every single day on the graph. Is this possible to do on the front end, or would this be more of a back end project?

This message has been edited. Last edited by: ccollier,


WebFOCUS 8.2.01M on Windows 10
 
Posts: 54 | Registered: July 30, 2018Report This Post
Virtuoso
posted Hide Post
ccollier

Please post the code to the fex.


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
 
Posts: 2127 | Location: Customer Support | Registered: April 12, 2005Report This Post
Virtuoso
posted Hide Post
The tooltips are based on the x-axis and y-axis avalable values.
So, if your graph is per Month (e.g. first day of the month), the displayed values will only be per that first day of the month.
If you want your tooltip to be per day, you need to include the day of each month in the same axis as for your month.


WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Report This Post
Gold member
posted Hide Post
  GRAPH FILE sp_datawarehouse_runsize_and_runtime
SUM EXTRACT_TIME AS 'Extract'
CLEANSER_TIME AS 'Clean'
TRANSFORM_TIME AS 'Transform'
OTHER_TIME AS 'Other'
BY RUN_DATE AS ''
WHERE @FREQUENCY EQ 'DEFAULT';
WHERE @PREVIOUS_MONTHS EQ &TIME_PERIOD;
ON GRAPH PCHOLD FORMAT JSCHART
ON GRAPH SET VZERO OFF
ON GRAPH SET AUTOFIT ON
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 LINE
ON GRAPH SET AUTOFIT ON
ON GRAPH SET STYLE *
*GRAPH_SCRIPT
setDepthRadius(0);
setUseSeriesShapes(true);
setPlace(true);
setPieDepth(0);
setPieTilt(0);
setCurveFitEquationDisplay(false);
*END
INCLUDE=IBFS:/FILE/IBI_HTML_DIR/javaassist/intl/EN/ENIADefault_combine.sty,$
TYPE=REPORT, TITLETEXT=&WF_TITLE.QUOTEDSTRING, $
TYPE=DATA, COLUMN=N1, BUCKET=x-axis, $
TYPE=DATA, COLUMN=N2, BUCKET=y-axis, $
TYPE=DATA, COLUMN=N3, BUCKET=y-axis, $
TYPE=DATA, COLUMN=N4, BUCKET=y-axis, $
TYPE=DATA, COLUMN=N5, BUCKET=y-axis, $
*GRAPH_SCRIPT
setReportParsingErrors(false);
setSelectionEnableMove(false);
setDisplay(getY1MajorGrid(),false);
setDisplay(getO1MajorGrid(),false);
setDataTextDisplay(false);
setPieFeelerTextDisplay(0);
setDisplay(getO1Label(),false);
setTextString(getO1Title(),"");
setDisplay(getO1Title(),false);
setMarkerShape(getAllSeries(),0);
setSeriesType(0,2);
setSeriesType(1,2);
setSeriesType(2,2);
setSeriesType(3,2);
setSeriesType(4,2);
setSeriesType(5,2);
setSeriesType(6,2);
setSeriesType(7,2);
setSeriesType(8,2);
setSeriesType(9,2);
setSeriesType(10,2);
setSeriesType(11,2);
setSeriesType(12,2);
setSeriesType(13,2);
setSeriesType(14,2);
setSeriesType(15,2);
setGradientPinPosition0(getSeries(*),0.0);
setGradientPinPosition1(getSeries(*),1.0);
setFillType(getSeries(*),1);
setTransparentBorderColor(getSeries(*), true);
setFillColor(getSeries(0),new Color(109,75,138));
setTransparentBorderColor(getSeries(0), true);
setFillColor(getSeries(1),new Color(30,183,241));
setTransparentBorderColor(getSeries(1), true);
setFillColor(getSeries(2),new Color(245,137,57));
setTransparentBorderColor(getSeries(2), true);
setFillColor(getSeries(3),new Color(255,209,33));
setTransparentBorderColor(getSeries(3), true);
setFillColor(getFrame(),new Color(255,255,255));
setCurveFitType(4,&TRENDLINE);
setCurveFitType(5,&TRENDLINE);
setCurveFitType(6,&TRENDLINE);
setCurveFitType(7,&TRENDLINE);
setCurveFitType(8,&TRENDLINE);
setCurveFitType(9,&TRENDLINE);
setCurveFitType(0,&TRENDLINE);
setCurveFitType(1,&TRENDLINE);
setCurveFitType(2,&TRENDLINE);
setCurveFitType(3,&TRENDLINE);
setConnectLineMarkers(true);
setSmoothLines(false);
setCurveFitEquationDisplay(true);
setDisplay(getY1Title(),true);
setTextString(getY1Title(),"Hours");
*GRAPH_JS_FINAL
"pieProperties": {
    "holeSize": "0%"
},
"series":     [
        {
            "color": "#6D4B6C",
            "series": 0
        },
        {
            "color": "#1EB8F1",
            "series": 1
        },
        {
            "color": "#F5893A",
            "series": 2
        },
        {
            "color": "#FFD122",
            "series": 3
        }
    ],
"introAnimation": {
    "enabled": false
},
"blaProperties": {
    "seriesLayout": "stacked",
    "lineConnection": "linear",
    "lineFillEffect": "35%"
},
"riserBevel": "none",
"yaxis": {
    "title": {
        "text": "Hours"
    }
},
"agnosticSettings": {
    "chartTypeFullName": "Line_Absolute"
}
*END
ENDSTYLE
END


I'm beginning to think that it would be a backend job. Each tooltip is based on the BY RUN_DATE, which is different according to the @previous_months.


WebFOCUS 8.2.01M on Windows 10
 
Posts: 54 | Registered: July 30, 2018Report This Post
Gold member
posted Hide Post
After looking further into the stored procedure, I have discovered it's a backend job. There is a parameter, @frequency, that allows me to change the frequency from something like month, to day or week.


WebFOCUS 8.2.01M on Windows 10
 
Posts: 54 | Registered: July 30, 2018Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Changing the frequency of the tooltip

Copyright © 1996-2020 Information Builders