Focal Point
[CLOSED] Currency $ sign in graph tooltip

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

January 08, 2019, 03:29 PM
BI_Developer
[CLOSED] Currency $ sign in graph tooltip
Hello
I am working on a graph and not able to get SALES display as a currency in tooltip. If its normal bar chart, setTextFormatPreset(getY1Label(),6); worked but it's not working here.
Anything I am missing or doing wrong? Please let me know.
ENGINE INT CACHE SET ON
SET HTMLENCODE=ON
SET ARGRAPHENGINE=JSCHART
SET GRAPHDEFAULT=OFF
GRAPH FILE CAR
SUM CAR.BODY.SALES/D12.2M
BY CAR.ORIGIN.COUNTRY
ON GRAPH PCHOLD FORMAT JSCHART
ON GRAPH SET VZERO OFF
ON GRAPH SET GRWIDTH 1
ON GRAPH SET AUTOFIT ON
ON GRAPH SET LOOKGRAPH EXTENSION
ON GRAPH SET AUTOFIT ON
ON GRAPH SET STYLE *
TYPE=DATA, COLUMN=N1, BUCKET= >labels, $
TYPE=DATA, COLUMN=N2, BUCKET= >size, $
*GRAPH_SCRIPT
setTextFormatPreset(getY1Label(),6);
*GRAPH_JS_FINAL
"pieProperties": {
    "holeSize": "0%"
},
"chartType": "com.ibi.pack",
"agnosticSettings": {
    "chartTypeFullName": "com.ibi.pack"
}
*END
ENDSTYLE
END
-RUN

Thank you..

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


WF 8.2.01 APP STUDIO
PDF,HTML,EXL2K,Active
January 08, 2019, 03:35 PM
BabakNYC
This is a D3 chart extension. I think you may have to ask the author of the chart on Github. Alternatively, you could open a case with IB Tech support and ask them to find out. Could you pls post the answer here?


WebFOCUS 8206, Unix, Windows
January 08, 2019, 04:30 PM
BI_Developer
quote:
Originally posted by BabakNYC:
This is a D3 chart extension. I think you may have to ask the author of the chart on Github. Alternatively, you could open a case with IB Tech support and ask them to find out. Could you pls post the answer here?


Will definitely post once I get to know. Thank you.


WF 8.2.01 APP STUDIO
PDF,HTML,EXL2K,Active
January 10, 2019, 06:04 PM
Pku
Can you try to add a line as shown below?

 

*GRAPH_SCRIPT
setUserToolTip([SL] [GL] : $[YV]);
 



Thanks,
Pku

Focus, WebFocus 8105 on Windows
January 11, 2019, 10:15 AM
BI_Developer
quote:
Originally posted by Pku:
Can you try to add a line as shown below?

 

*GRAPH_SCRIPT
setUserToolTip([SL] [GL] : $[YV]);
 

Hello Pku..this did not work for me. I also turned GRAPHEDIT to OFF as per online documentation.


WF 8.2.01 APP STUDIO
PDF,HTML,EXL2K,Active
January 16, 2019, 01:08 PM
FP Mod Chuck
BI Developer

If this is still an issue I recommend you open a case with techsupport.


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats