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     $ sign on Data Text of Graph
Go
New
Search
Notify
Tools
Reply
  
$ sign on Data Text of Graph
 Login/Join
 
Member
posted
I need to get the "$" (dollar sign) on the Data Text of the Y2 axis on my graph. NOT the Y2 Label, I have that already. It's the text floating above the Bars that I'm having problems with. The caveat: I'm running 5.3.3 Can it be done???
Any help would be greatly appreciated.


Robert B. Clark -- Business Systems Analyst
Daimler Trucks North America
Phone: 503.745.7057
"There's always a better way."
IBM Mainframe zOS 8.1.05, DB2 adapter
WF 8.1.05 Hub to Sub, Self-Service, SQL Server adapter
 
Posts: 25 | Location: Portland, OR | Registered: October 13, 2006Reply With QuoteReport This Post
Master
posted Hide Post
Hope this is what you are looking for,

setDataTextFormat(16);
setDataTextPosition(0);

Hope this helps,


WFConsultant

WF 8105M on Win7/Tomcat
 
Posts: 780 | Location: Florida | Registered: January 09, 2005Reply With QuoteReport This Post
Member
posted Hide Post
Close. Still no "$". I do like the "K" for the 1000s place, but it's applying it to both Y1 and Y2 axis. I need Y2 only. Any other suggestions?


Robert B. Clark -- Business Systems Analyst
Daimler Trucks North America
Phone: 503.745.7057
"There's always a better way."
IBM Mainframe zOS 8.1.05, DB2 adapter
WF 8.1.05 Hub to Sub, Self-Service, SQL Server adapter
 
Posts: 25 | Location: Portland, OR | Registered: October 13, 2006Reply With QuoteReport This Post
Master
posted Hide Post
try this

setDataTextFormatPattern("$#.##");
setDataTextFormat(-1);


WFConsultant

WF 8105M on Win7/Tomcat
 
Posts: 780 | Location: Florida | Registered: January 09, 2005Reply With QuoteReport This Post
Member
posted Hide Post
MUCH CLOSER! I have the $ sign now. Thank you. Unfortunately it's on the Y1 axis also, which is my quantity.
Any way to make it selective??? Y1 or Y2 only?


Robert B. Clark -- Business Systems Analyst
Daimler Trucks North America
Phone: 503.745.7057
"There's always a better way."
IBM Mainframe zOS 8.1.05, DB2 adapter
WF 8.1.05 Hub to Sub, Self-Service, SQL Server adapter
 
Posts: 25 | Location: Portland, OR | Registered: October 13, 2006Reply With QuoteReport This Post
Master
posted Hide Post
Hope it will work this time,

setY2LabelFormatPattern("$#.##");
setY2LabelFormat(-1);


WFConsultant

WF 8105M on Win7/Tomcat
 
Posts: 780 | Location: Florida | Registered: January 09, 2005Reply With QuoteReport This Post
Member
posted Hide Post
I was able to use this:

setDataTextDisplay(true);
setDataTextPosition(4);
setCustomDataText(getSeries(0), true);
setCustomDataText(getSeries(1), true);
setDisplay(getDataText(0), true);
setDataTextPosition(4);
setTextFormatPreset(getDataText(0), 1);
setFontSizeAbsolute(getDataText(0), true);
setFontSizeInPoints(getDataText(0), 12);
setDisplay(getDataText(1), true);
setDataTextPosition(1);
setTextFormatPreset(getDataText(1), 8);
setFontSizeAbsolute(getDataText(1), true);
setFontSizeInPoints(getDataText(1), 12);

It worked. Now I just have to work on the positioning. Even though I tell it position 4 it's shifted up and to the right. I'll tackle that later I guess


Robert B. Clark -- Business Systems Analyst
Daimler Trucks North America
Phone: 503.745.7057
"There's always a better way."
IBM Mainframe zOS 8.1.05, DB2 adapter
WF 8.1.05 Hub to Sub, Self-Service, SQL Server adapter
 
Posts: 25 | Location: Portland, OR | Registered: October 13, 2006Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     $ sign on Data Text of Graph

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