Focal Point
[SOLVED] Graph Marker Shape Issues [CODE]

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

February 04, 2009, 09:14 PM
Doug
[SOLVED] Graph Marker Shape Issues [CODE]
The Graph Marker Shapes and the Legend Marker Shapes do not match, they are both squares. What needs to be done to make the legend shapes match the graph shapes?

The Line Graph is a sum of two numbers by a date, a very simple graph. Everything is fine except for the mis-match in the shapes which need to be consistent with the graph (so they are distinguishable when printed in black and white).

You can view the resultant image here and the code here

Thanks for your insight in to making the shapes match.
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
February 05, 2009, 02:15 AM
Tony A
Doug,

The legend is always a block of colour unless you specofy otherwise. Try using setUseSeriesShapes(boolean); where the default is false - blocks of colour, and true uses the shapes from the series the legend entry represents.

Get hold of the Graphing manual (PDF download available) or bookmark this url

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
February 05, 2009, 06:33 AM
Doug
Thanks a meg Tony. That worked, of course.




   In FOCUS Since 1983 ~ from FOCUS to WebFOCUS.
   Current: WebFOCUS Administrator at FIS Worldpay | 8204, 8206