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     [Solved] Advance Graphics Reference Line

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[Solved] Advance Graphics Reference Line
 Login/Join
 
Expert
posted
How can a reference line be added to a bar chart? The value for the reference line would come from a dynamic variable which is set and DEFINEd prior to the GRAPH FILE [filename]. But how does it get displayed within the graph? While we’re at it, how about adding a trend line to the same graph?

Thanks, Doug

This message has been edited. Last edited by: Doug,




   In FOCUS Since 1983 ~ from FOCUS to WebFOCUS.
   Current: WebFOCUS Administrator at FIS Worldpay | 8204, 8206
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report This Post
Expert
posted Hide Post
Doug,

If you SEARCHED on REFERENCE LINE, 4 pages of threads, all of your questions would be answered...

Tom


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
 
Posts: 1972 | Location: Centennial, CO | Registered: January 31, 2006Report This Post
Expert
posted Hide Post
Thanks Tom, I searched on "advanced graphics line" and didn't get relevant info. I did the "reference line" search and did find a few "reference line" results mixed in with many "reference" and "line" results. It's better then my 1st search results.
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report This Post
Guru
posted Hide Post
quote:
Originally posted by Doug:
Thanks Tom, I searched on "advanced graphics line" and didn't get relevant info. I did the "reference line" search and did find a few "reference line" results mixed in with many "reference" and "line" results. It's better then my 1st search results.


thats how many search engines work- you basically have to get a bit clever with them and try and think of the terms others would have used when asking the question...

i would say 95% of my questions i don't bother my mentors with are solved by using the search, there is an awful lot of info in there, it's a case of weeding out out what you need...


Developer Studio 7.64
Win XP
Output: mostly HTML, also Excel and PDF

"Never attribute to malice that which can be adequately explained by stupidity." - Heinlein's Razor
 
Posts: 285 | Location: UK | Registered: October 26, 2007Report This Post
Expert
posted Hide Post
Be nice now nubi, I know how search engines work and I'm not afraid to use them. Perspective for Java had what I needed. I do, normally, find what I'm looking for here in The WebFOCUS World...

Anyway, here's what I was looking for, and it works great:

setReferenceLine (getY1Axis(), 0, 45000);
setLineWidth (getReferenceLine (getY1Axis(), 0), 3);
setFillColor (getReferenceLine (getY1Axis(), 0), new Color (255, 0, 0));

NOTE, FYI: this is good for a bar chart with a yaxis gt 45000, as in:
GRAPH FILE CAR
SUM DEALER_COST
ACROSS COUNTRY
ON GRAPH SET LOOKGRAPH VBAR...

-Doug
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report This Post
Guru
posted Hide Post
no drama intended i just didn't know if you wre one of these users who didn't - it seems posts on here could actually be answered with a search through the archives but many people complain of not finding the results they need so its worth reiterating that search engines are 'dumb' and you need to make them 'smart'


Developer Studio 7.64
Win XP
Output: mostly HTML, also Excel and PDF

"Never attribute to malice that which can be adequately explained by stupidity." - Heinlein's Razor
 
Posts: 285 | Location: UK | Registered: October 26, 2007Report This Post
Expert
posted Hide Post
No problem... Your clarification is accepted...
 
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     [Solved] Advance Graphics Reference Line

Copyright © 1996-2020 Information Builders