Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Changing the frequency of the tooltip
Go
New
Search
Notify
Tools
Reply
  
[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 7
 
Posts: 48 | Registered: July 30, 2018Reply With QuoteReport 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: 1560 | Location: Customer Support | Registered: April 12, 2005Reply With QuoteReport 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.0.1M gen 240, Dev 8.2.04 gen 48, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2159 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Reply With QuoteReport 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 7
 
Posts: 48 | Registered: July 30, 2018Reply With QuoteReport 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 7
 
Posts: 48 | Registered: July 30, 2018Reply With QuoteReport This Post
  Powered by Social Strata  
 

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

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.