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.



Read-Only Read-Only Topic
Go
Search
Notify
Tools
grafics and formula
 Login/Join
 
Virtuoso
posted
I am building a report that holds a scatter diagram

In the spot plot we want a "best" fit line.
That is an option we can add by hand in the code.

Now the challange is that the enduser wants some statistical information besides the graph

He wants to see the SDEV m Variance and maybe some more typical Values according to this matter.

Any idea how this could be done?

(something for a rainy weekend to solve)




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

 
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Report This Post
Expert
posted Hide Post
Hi Frank,

Suggestions from our experts:

The only way I know to add additional information in a graph is to use Annotation. Variables can be included in
Annotations. The variable can be set and then the annotation can be any text string including a variable that will
Expand at run time.

-SET &TEST = 'THIS IS A TEST';
GRAPH FILE ….
.
.
.
setDisplay(getAnnotation(0), true);
setTextString(getAnnotation(0), " &TEST ");
setFillColor(getAnnotationBox(0), new Color (255,255,0));
setFillColor(getAnnotationLabel(0), new Color(0,0,0));

Cheers,

Kerry


Kerry Zhan
Focal Point Moderator
Information Builders, Inc.
 
Posts: 1948 | Location: New York | Registered: November 16, 2004Report This Post
Virtuoso
posted Hide Post
thanks Kerry

In the mean time I did some searching on internet and in combination with the excel help function on several statistical codes I was able to calculate several values for this.
I was able to put them in amperfields and use them in the heading and legend of the graph.
I also found the codes to add the curve formula in the graph and lucky enough that matched well.

It is not easy to create these graphs on the example databases, but I will post my code later.




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

 
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Report This Post
Member
posted Hide Post
Frank,

Please see this article for calculating statistics in WebFOCUS:

Producing Statistics in TABLE

http://techsupport.information...cof/cof_tcn_073.html

Good luck,
Ira
 
Posts: 13 | Location: New York City | Registered: March 01, 2010Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders