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.
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, DougThis 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, 2005
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, 2005
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, 2007
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, 2005
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, 2007