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. Moving forward, myibi is our community platform to learn, share, and collaborate. We have the same Focal Point forum categories in myibi, so you can continue to have all new conversations there. If you need access to myibi, contact us at myibi@ibi.com and provide your corporate email address, company, and name.


Connect to myibi
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED]Curved Reference Line?

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED]Curved Reference Line?
 Login/Join
 
Gold member
posted
Is it possible to have a curved reference line? In the code below, I want the reference line to move with the max.seats for each maker. I do realize I could use a new series line instead of a reference line, but I like the way the reference line is labeled on the chart instead of in the legend as it would be with a series. Thanks!

 
GRAPH FILE CAR
SUM 
MAX.SEATS NOPRINT
CNT.MODEL
BY CAR
ON GRAPH PCHOLD FORMAT JSCHART
ON GRAPH SET LOOKGRAPH VLINE
ON GRAPH SET STYLE *
COLUMN=N2, GRAPH-COMMAND='setReferenceLineValue(getReferenceLineY1(0),$VALUE)', $
*GRAPH_SCRIPT
setReportParsingErrors(false);
setSelectionEnableMove(false);
setTextRotation(getO1Label(),1);
setDisplay(getReferenceLineY1(0),true);
setTextString(getReferenceLineTextY1(0),"Max Number of Seats");
*END
ENDSTYLE
END

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


WF 8.0.08 (Prod); WF 8.2.06 (Dev)
 
Posts: 83 | Location: OK | Registered: November 19, 2015Report This Post
<Emily McAllister>
posted
Hello Evan,
I am a little confused by your question. In what way do you want the reference line to curve, and why?

Thanks,
Emily McAllister
Focal Point Moderator
 
Report This Post
Master
posted Hide Post
Evan,

you can't.

Like you said, make a new series. But I think you can add a extra annotation ( without a line ) and perhaps dynamically align it with the first value of your newly created series?

G'luck.


_____________________
WF: 8.0.0.9 > going 8.2.0.5
 
Posts: 668 | Location: Veghel, The Netherlands | Registered: February 16, 2010Report This Post
Master
posted Hide Post
If you curve a reference line, doesn't it cease to be a reference line?


App Studio
WebFOCUS 8.1.05M
Windows, All Outputs
 
Posts: 594 | Location: Michigan | Registered: September 04, 2015Report This Post
Gold member
posted Hide Post
quote:
Originally posted by Dave:
Evan,

you can't.

Like you said, make a new series. But I think you can add a extra annotation ( without a line ) and perhaps dynamically align it with the first value of your newly created series?

G'luck.


Thank you, I will look into adding an annotation.


WF 8.0.08 (Prod); WF 8.2.06 (Dev)
 
Posts: 83 | Location: OK | Registered: November 19, 2015Report This Post
Gold member
posted Hide Post
quote:
Originally posted by Emily McAllister:
Hello Evan,
I am a little confused by your question. In what way do you want the reference line to curve, and why?

Thanks,
Emily McAllister
Focal Point Moderator


I wanted the reference line to curve as the max number of seats changed from model to model. What I want to do, is have the user be able to compare whether or not their value (not calculated here)is above or below this line.


WF 8.0.08 (Prod); WF 8.2.06 (Dev)
 
Posts: 83 | Location: OK | Registered: November 19, 2015Report This Post
Gold member
posted Hide Post
quote:
Originally posted by Squatch:
If you curve a reference line, doesn't it cease to be a reference line?


In WebFOCUS, it appears it DOES cease to be a reference line Smiler


WF 8.0.08 (Prod); WF 8.2.06 (Dev)
 
Posts: 83 | Location: OK | Registered: November 19, 2015Report 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]Curved Reference Line?

Copyright © 1996-2020 Information Builders