Focal Point
[CLOSED]Drill down hover text missing

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/8157057186

April 10, 2016, 10:12 PM
Tomsweb
[CLOSED]Drill down hover text missing
Here is a problem I ran into while creating my 1st graph in WebFOCUS 8 and
InfoAssist.

This graph is a count of "Emergency" and "Inpatient" PATIENTs who were admitted
in the last 30 days. It is a vertical bar chart. Here is the graph code:

  
TABLE FILE MEDICALS
SUM
PATIENT_ID
BY ENCOUNTER_TYPE
WHERE ENCOUNTER_TYPE EQ 'Emergency' OR 'Inpatient';
END


I have created a drill down link to view a detail report of all Emergency patients
(or Inpatient patients) admitted in the last 30 days.

When I hover the mouse over the Emergency axis I see the expected hover text for
that drill down. However, when I hover the mouse over the Inpatient axis I do NOT
see the expected hover text for that data.

Has anyone had this problem? Is this a bug in WF 8.1.05?

Thanks,

This message has been edited. Last edited by: <Emily McAllister>,


Tomsweb
WebFOCUS 8.1.05M, 8.2.x
APP Studio, Developer Studio, InfoAssist, Dashboards, charts & reports
Apache Tomcat/8.0.36
April 11, 2016, 03:50 AM
Tony A
Hi Tom,

Works fine for me, with either the default text or specifying alternate text in the "hyperlink" dialog.

T

ENGINE INT CACHE SET ON


-*COMPONENT=Define_ggsales
DEFINE FILE ibisamp/ggsales
 Series1/D12.2=IF GGSALES.SALES01.CATEGORY EQ 'Coffee' THEN GGSALES.SALES01.DOLLARS ELSE 0;
 Series2/D12.2=IF GGSALES.SALES01.CATEGORY EQ 'Food' THEN GGSALES.SALES01.DOLLARS ELSE 0;
END
-DEFAULTH &WF_STYLE_UNITS='PIXELS';
-DEFAULTH &WF_STYLE_HEIGHT='405.0';
-DEFAULTH &WF_STYLE_WIDTH='770.0';

-DEFAULTH &WF_TITLE='WebFOCUS Report';
GRAPH FILE ibisamp/ggsales
-* Created by Info Assist for Graph
SUM Series1
Series2
BY GGSALES.SALES01.REGION
WHERE GGSALES.SALES01.CATEGORY IN ( 'Coffee' , 'Food' );
ON GRAPH PCHOLD FORMAT JSCHART
ON GRAPH SET HTMLENCODE ON
ON GRAPH SET GRAPHDEFAULT OFF
ON GRAPH SET ARGRAPHENGIN JSCHART
ON GRAPH SET VZERO OFF
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 GRMERGE ADVANCED
ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRLEGEND 0
ON GRAPH SET GRXAXIS 1
ON GRAPH SET LOOKGRAPH VBAR
ON GRAPH SET AUTOFIT ON
ON GRAPH SET STYLE *
*GRAPH_SCRIPT

setPieDepth(0);
setPieTilt(0);
setDepthRadius(0); 
setCurveFitEquationDisplay(false); 
setPlace(true); 

*END
INCLUDE=IBFS:/FILE/IBI_HTML_DIR/javaassist/intl/EN/combine_templates/iForce.sty,$
TYPE=REPORT, TITLETEXT=&WF_TITLE.QUOTEDSTRING, PAGESIZE=A4, $
TYPE=DATA, COLUMN=N2, TARGET='_blank', FOCEXEC=IBFS:/WFC/Repository/App_Studio/cost_of_goods.fex, $
TYPE=DATA, COLUMN=N3, ALT='Drilldown to Region', TARGET='_blank', FOCEXEC=IBFS:/WFC/Repository/App_Studio/drilldown.fex, $
*GRAPH_SCRIPT
setReportParsingErrors(false);
setSelectionEnableMove(false);
setFillColor(getSeries(0),new Color(255,0,0));
setFillColor(getSeries(1),new Color(0,0,255));

*END
ENDSTYLE
END

-RUN




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 
April 13, 2016, 03:08 PM
<Emily McAllister>
Hi Tom,

Can you provide the code so that we can take a look at it? I'm not sure why you are seeing this problem, but if you can provide an example that will help us figure out the issue.

Thanks,
Emily McAllister
Focal Point Moderator
April 13, 2016, 04:28 PM
Tomsweb
I initially coded this a single series request.

Per Tony's suggestion, I recoded the graph as a multi-series request and the hover text issue resolved itself.

As you know when you left click on an axis point you can change the Color Options from "by series" to "by group" depending on how you wish to style the axis points. I think the by series option is disabled unless the graph is coded as a series.

Obviously not every graph should be coded as a series. Ergo, I am still unclear as to how I will change the different axis points in a single series graph.

I'd love to see a best practice on how to do that.

Thanks


Tomsweb
WebFOCUS 8.1.05M, 8.2.x
APP Studio, Developer Studio, InfoAssist, Dashboards, charts & reports
Apache Tomcat/8.0.36
April 19, 2016, 03:01 PM
<Emily McAllister>
quote:
Obviously not every graph should be coded as a series. Ergo, I am still unclear as to how I will change the different axis points in a single series graph.

I'm sorry, but I don't really understand what you mean by this. Can you provide an example?

Thanks
Emily McAllister
Focal Point Moderator