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     [CLOSED] Custom Tooltips - Undefined value on zoom

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Custom Tooltips - Undefined value on zoom
 Login/Join
 
Member
posted
I have a bubble map that I created a tooltip for. It works fine on load, but when I zoom in or out on the map, the second series value becomes "undefined". It stays that way until I rerun the chart.
It has something to do with the "this.data[1][g].value" call. I can't seem to find out how to use the this.formatNumber with series 1 values.

Help!

ENGINE INT CACHE SET ON


-DEFAULTH &WF_STYLE_UNITS='PIXELS';
-DEFAULTH &WF_STYLE_HEIGHT='405.0';
-DEFAULTH &WF_STYLE_WIDTH='770.0';

-DEFAULTH &WF_TITLE='WebFOCUS Report';
GRAPH FILE fc/grn_scale_times
-* Created by Info Assist for Graph
SUM GRN_SCALE_TIMES.TICKDATA.OTBUSL AS 'Total Bushels'
AVE.GRN_SCALE_TIMES.TICKDATA.UnloadTime AS 'Avg Unload Time'
BY GRN_SCALE_TIMES.LOCMAST.BRLATITUDE
BY GRN_SCALE_TIMES.LOCMAST.BRLNGITUDE
WHERE GRN_SCALE_TIMES.TICKDATA.OTTIDT EQ Today;
WHERE GRN_SCALE_TIMES.DELVNUMB.ODLINE EQ 1;
WHERE GRN_SCALE_TIMES.DELVNUMB.ODINOT EQ 1;
WHERE GRN_SCALE_TIMES.TICKDATA.OTCOM EQ 1 OR 3 OR 4 OR 13;
WHERE GRN_SCALE_TIMES.TICKDATA.OTGTIM LT GRN_SCALE_TIMES.TICKDATA.OTTTIM;
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 2
ON GRAPH SET LOOKGRAPH BUBBLEMAP
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/ENIADefault_combine.sty,$
DEFMACRO=Condition_1, MACTYPE=RULE, WHEN=N4 LT 5, $
DEFMACRO=Condition_2, MACTYPE=RULE, WHEN=N4 LT 7.5, $
DEFMACRO=Condition_3, MACTYPE=RULE, WHEN=N4 LT 10, $
DEFMACRO=Condition_4, MACTYPE=RULE, WHEN=N4 LT 12.5, $
DEFMACRO=Condition_5, MACTYPE=RULE, WHEN=N4 LT 15, $
DEFMACRO=Condition_6, MACTYPE=RULE, WHEN=N3 GE 15, $
TYPE=REPORT, TITLETEXT=&WF_TITLE.QUOTEDSTRING, ORIENTATION=LANDSCAPE, PAGESIZE=LEGAL, $
TYPE=DATA, COLUMN=N3, MACRO=Condition_1, COLOR=RGB(0 100 0), $
TYPE=DATA, COLUMN=N3, MACRO=Condition_2, COLOR=RGB(45 150 45), $
TYPE=DATA, COLUMN=N3, MACRO=Condition_3, COLOR=RGB(86 158 86), $
TYPE=DATA, COLUMN=N3, MACRO=Condition_4, COLOR=RGB(229 133 133), $
TYPE=DATA, COLUMN=N3, MACRO=Condition_5, COLOR=RGB(209 73 73), $
TYPE=DATA, COLUMN=N3, MACRO=Condition_6, COLOR=RGB(218 0 0), $
*GRAPH_SCRIPT

setUseSeriesShapes(true);
setScaleMustIncludeZero(getX1Axis(), false);
setScaleMustIncludeZero(getY1Axis(), false);
setScaleMustIncludeZero(getY2Axis(), false);
setMarkerSizeDefault(60);
setPlace(true); setToolTipStyle("html5");
setReportParsingErrors(false);
setSelectionEnableMove(false);
setDisplay(getLegendArea(),false);
*GRAPH_JS
"bubbleMarker": {
"maxSize": "7%"
},
"mapProperties": {
"leaflet": {
"overlayLayers": [{
"title": "Iowa",
"type": "latlng"
}],
"baselayers": [{
"title": "ArcGIS_World_Street_Map",
"layerInfo": {
"maxZoom": 16,
"attribution": function(){ return "&|copy; Information Builders | " +
"Map Tiles: &|copy; Esri"; }
},
"url": function(){return 'http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer/tile/{z}/{y}/{x}';}
}]
}
}
,
series: [
{series: 'reset', tooltip: function(v,s,g) {return this.getSeries(0).label + ': ' + this.formatNumber(v, '#,###') + ' bu
' + this.getSeries(1).label + ': ' + this.data[1][g].value + ' min';}},
{series: 1, visible: false}
]
*END
ENDSTYLE
END

-RUN

This message has been edited. Last edited by: FP Mod Chuck,


WebFOCUS 8
Windows, All Outputs
 
Posts: 4 | Registered: January 05, 2016Report This Post
Virtuoso
posted Hide Post
What release of WebFOCUS 8 are you using?


WebFOCUS 8206, Unix, Windows
 
Posts: 1853 | Location: New York City | Registered: December 30, 2015Report This Post
Member
posted Hide Post
I'm on the IBM version, which is release 8.1


WebFOCUS 8
Windows, All Outputs
 
Posts: 4 | Registered: January 05, 2016Report This Post
Virtuoso
posted Hide Post
Hi Ktyler

I would suggest opening a case with techsupport for this. It will be tough to debug on Focal Point.


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
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Custom Tooltips - Undefined value on zoom

Copyright © 1996-2020 Information Builders