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     [CLOSED] Currency $ sign in graph tooltip
Go
New
Search
Notify
Tools
Reply
  
[CLOSED] Currency $ sign in graph tooltip
 Login/Join
 
Platinum Member
posted
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
 
Posts: 113 | Registered: July 21, 2011Reply With QuoteReport This Post
Virtuoso
posted Hide Post
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 8204, Unix, Windows
 
Posts: 1457 | Location: New York City | Registered: December 30, 2015Reply With QuoteReport This Post
Platinum Member
posted Hide Post
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
 
Posts: 113 | Registered: July 21, 2011Reply With QuoteReport This Post
Silver Member
posted Hide Post
Can you try to add a line as shown below?

 

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


Thanks,
Pku

Focus, WebFocus 8105 on Windows
 
Posts: 32 | Registered: May 28, 2008Reply With QuoteReport This Post
Platinum Member
posted Hide Post
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
 
Posts: 113 | Registered: July 21, 2011Reply With QuoteReport This Post
Virtuoso
posted Hide Post
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
 
Posts: 1328 | Location: Customer Support | Registered: April 12, 2005Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Currency $ sign in graph tooltip

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