Focal Point
GRAPH file ?; killing those line marker boxes

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

October 24, 2005, 07:35 PM
susannah
GRAPH file ?; killing those line marker boxes
i thought
setMarkerDisplay(false);
would do it, but no cigar.
how do get smooth lines without those boxes on every data point?
October 24, 2005, 08:36 PM
Tony A
Susannah,

That should work OK, but you could try setMarkerSize(0,0); as well which should make them so small as to appear hidden.

For smooth lines you need to use - setSmoothLines(true);

You seem to be working all hours? Rush job or night shift?

T
October 24, 2005, 08:56 PM
susannah
thanks Tony....SmoothLines Aha!
hang on..didn't work; got an error on SmoothLines. i'm in 527.
markersize worked. i'll use that.
don't go far away...i'm gonna ask you for more graph help...
(re all hours? working on a production box...
so gotta do serious wicked things when the users are not around. way too impatient to work on the dev box and then xfer Wink )
October 25, 2005, 07:22 PM
Tony A
Hi Susannah,

You're welcome, only, can I go now as I need to get home Wink

Hope the "seriously wicked" changes are going well.

BTW, the smooth lines works in 5.3.2. Not sure when it became available though.

T
October 17, 2013, 01:33 PM
Francis Mariani
I thought I'd add my two bits.

setMarkerDisplay(false) seems to be turning the markers off, but the command causes a problem - the last x-axis dimension loses the tool-tip display - you cannot determine the measure amount for the last dimension.

Try the fex below:

-* File fm_graphtest1.fex

TABLE FILE GGORDER
SUM
QUANTITY/D5 AS ''
ACROSS ORDER_DATE AS ''
ON TABLE SET STYLE *
TYPE=REPORT, GRID=OFF, SIZE=7, $
ENDSTYLE
ON TABLE SET PAGE NOPAGE
END

GRAPH FILE GGORDER
SUM
QUANTITY AS ''
BY ORDER_DATE
ON GRAPH SET HAXIS 1060
ON GRAPH SET VAXIS 224
ON GRAPH SET UNITS PIXELS
ON GRAPH SET LOOKGRAPH VLINE
ON GRAPH SET GRMERGE ON

ON GRAPH SET GRAPHSTYLE *
setMarkerDisplay(true); // enable or disable the display of markers
setDepthRadius(0);      // Turn off 2D

ENDSTYLE
END

GRAPH FILE GGORDER
SUM
QUANTITY AS ''
BY ORDER_DATE
ON GRAPH SET HAXIS 1060
ON GRAPH SET VAXIS 224
ON GRAPH SET UNITS PIXELS
ON GRAPH SET LOOKGRAPH VLINE
ON GRAPH SET GRMERGE ON

ON GRAPH SET GRAPHSTYLE *
setMarkerDisplay(false); // enable or disable the display of markers
setDepthRadius(0);      // Turn off 2D

ENDSTYLE
END



Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
October 17, 2013, 01:37 PM
Francis Mariani
quote:
setSmoothLines(true);

causes the tooltip to display the first amount, no matter where in the line you hover.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server