Focal Point
Line Graph

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/9131088331

July 25, 2005, 09:50 PM
Prarie
Line Graph
Anyone know how to control the thickness of a line in a Line Graph...I've searched..and Have not found anything. Thanks. V 5.3.4
July 25, 2005, 10:21 PM
N.Selph
If your lines are on series values:

setLineWidth(getSeries(0),2);

Where "2" is my width in pixels. Replace getSeries(0) with the object of the line that you want to change the width of.
July 26, 2005, 02:46 PM
Prarie
I'm a little Java impared....what exactly do I put in the Getseries? Thanks

This is my graph in a nut shell.

GRAPH FILE ZGRAPH
SUM AVALCALLS
LOGTIME
ACROSS THISTIME
ON GRAPH SET LOOKGRAPH VLINE
July 26, 2005, 03:01 PM
Tony A
"getSeries" is the property that relates to the data series to which you wish to apply the method "setLineWidth" and begins from zero.

Note: the syntax is case specific in all Perspective for Java code.

If you wish to have the line thickness for your first data series to be 3 px and the second series be 4 px then you would code -

ON GRAPH SET GRAPHSTYLE *
setLineWidth(getSeries(0),3);
setLineWidth(getSeries(1),4);
ENDSTYLE

If you want to get more info on the syntax, methods and properties then ThreeD Graphics have a great on-line manual or else, I believe, one is available with WebFOCUS help files.

Hope this helps
July 26, 2005, 03:10 PM
Prarie
Thanks...
July 26, 2005, 03:17 PM
<DocServices>
Hi,

For information on Customizing Graphs Using the Graph API (ON GRAPH SET GRAPHSTYLE *), see Chapter 19, in the Creating Reports Using WebFOCUS Language Version 5.3 manual (DN4500580.0904). For Version 7.1, see Chapter 20 (DN4500695.0505).

For reference information about the Graph API, see the Perspective for Java Programmer's Manual or the WebFOCUS Graphics manual.

I hope this helps.

Best,
Jennifer