[Case Opened] BIP+JSCHART - X Axis Title Truncates and Y Axis Title Disappears.
When I render my BIP I see the X and Y axis title of my JSCHART AOK.
I click another BIP page, and then click back to the BIP page containing the JSCHART.
Now that I've clicked back I see...the X axis title display 'truncated' to ['First 5 Characters of Title' + '...'] and the Y axis title disappears all together.
Nothing else on the chart changes.
Not sure why clicking to one page, and then back, causes the appearance change.
I have verified that no server calls are made when I click back to the page with the JSCHART.
For some reason, it seems like the code [BIP/JSCHART] running in the browser, thinks it needs to deal [rudely] with the x/y titles.
Notes: * The BIP page is set to 'fluid canvas'. * The JSCHART calls IB's ENWarm.sty StyleSheet file. * All during development in WFDS and rendering from WFDS, the titles never changed appearance/disappeared. * Clicking the panel refresh option, restores the x and y titles, as the JSCHART is called from the server and then rendered.
I click another page, click back to my portal page, look at the DOM via Programmer Tools, and this SVG group element is gone.
Is there some way for me to put this element back into the DOM, or prevent its leaving?
Pilot: WebFOCUS 8.2.06 Test: WebFOCUS 8.1.05M Prod: WebFOCUS 8.1.05M Server: Windows Server 2016/Tomcat Standalone Workstation: Windows 10/IE11+Edge Database: Oracle 12c, Netezza, & MS SQL Server 2019 Output: AHTML/XLSX/HTML/PDF/JSCHART Tools: WFDS, Repository Content, BI Portal Designer & ReportCaster
May 02, 2017, 10:47 AM
David Briars
I *think* I've further isolated the issue.
GRAPH FILE GGSALES
SUM
BUDDOLLARS AS 'Subordinated Debt'
DOLLARS AS 'Sub Debt Qualifying as Equity Capital'
-*
BY ST
-*
ON GRAPH PCHOLD FORMAT JSCHART
ON GRAPH SET VZERO OFF
ON GRAPH SET HTMLENCODE ON
ON GRAPH SET GRAPHDEFAULT OFF
ON GRAPH SET GRMERGE ADVANCED
ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRLEGEND 0
ON GRAPH SET GRXAXIS 1
ON GRAPH SET LOOKGRAPH VLINE
ON GRAPH SET AUTOFIT ON
ON GRAPH SET STYLE *
-*
*GRAPH_JS
xaxisOrdinal: {title: {visible: true, text: 'Statement Date'}},
yaxis: {title: {visible: true, text: 'Amount'}}
*END
-*
*GRAPH_JS
htmlToolTip: {enabled: true, snap: false, sticky: false
}
*END
-*
ENDSTYLE
END
When I EXecute this in WFDS 8105M, I see the yaxis title AOK.
When I resize the window/browser smaller, and then resize the window/browser bigger, the yaxis title is MIA.
Could someone assist with preserving the yaxis title, even after resizing?This message has been edited. Last edited by: David Briars,
Pilot: WebFOCUS 8.2.06 Test: WebFOCUS 8.1.05M Prod: WebFOCUS 8.1.05M Server: Windows Server 2016/Tomcat Standalone Workstation: Windows 10/IE11+Edge Database: Oracle 12c, Netezza, & MS SQL Server 2019 Output: AHTML/XLSX/HTML/PDF/JSCHART Tools: WFDS, Repository Content, BI Portal Designer & ReportCaster
November 11, 2019, 11:38 AM
NARSA
Hi David,
I have similar issue with BIP+JSCHART in 8202M.
Did you get any solution on this?
ThanksThis message has been edited. Last edited by: NARSA,