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]Changing DataText format

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED]Changing DataText format
 Login/Join
 
Member
posted
I plotted dual axis line bar graph(1 series is bar other is connected line).I am facing problem while changing datatext format for one of the series.Used 2 ways to do it

1.Using graph tool- i tried changing datatext format for line series to '%' but it changes for both the series instead of one.

2. Text Editor(Referred Graph API)- Below code from API doesn't work for me.
setTextFormatPreset(getDataText (1), 6);
setTextFormatPreset(getDataText (0), 2);
setDataTextDisplay (true);

Please help me solving this issue.

This message has been edited. Last edited by: <Emily McAllister>,


WebFOCUS 8
Windows, All Outputs
 
Posts: 23 | Registered: April 16, 2015Report This Post
Guru
posted Hide Post
CuriousDev,

Try replacing your posted code with the following:

setDisplay(getDataText(0), false); // Hide data text for series 0
setDisplay(getDataText(1), true); // Show data text for series 1

Thank you for participating in the Focal Point Forum.

Kindest regards,
Tamra Colangelo
Focal Point Moderator - Information Builders Inc.


WebFOCUS 8x - BI Portal, Developer Studio, App Studio, Excel, PDF, Active Formats and HTML5
 
Posts: 487 | Location: Toronto | Registered: June 23, 2009Report This Post
Member
posted Hide Post
I don't want to hide series 0.Both the series should be displayed on the graph.
1.series 0 should show amount with $ symbol
2.Series 1 should show percent value with % symbol


Thank you


WebFOCUS 8
Windows, All Outputs
 
Posts: 23 | Registered: April 16, 2015Report This Post
Expert
posted Hide Post
So, are the dates in-sync between the two series? If so, use only one of them and the two values which are common between those dates.
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report This Post
Expert
posted Hide Post
How'd this work out for you?
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 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]Changing DataText format

Copyright © 1996-2020 Information Builders