Focal Point
[CASE-OPENED] Line-Graph skips last value

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

April 14, 2010, 09:10 AM
Stefan
[CASE-OPENED] Line-Graph skips last value
Hi there,

I have a funny issue:

I've got a line graph like this:

GRAPH FILE myGraph
-* Created by Advanced Graph Assistant
SUM myMeasure
BY YEAR NOPRINT
BY MONTH NOPRINT
BY CALDAY_NAME
ON GRAPH PCHOLD FORMAT PNG
ON GRAPH SET GRAPHDEFAULT OFF
ON GRAPH SET VZERO OFF
ON GRAPH SET HTMLENCODE ON
ON GRAPH SET HAXIS 2400
ON GRAPH SET VAXIS 1200
ON GRAPH SET UNITS PIXELS
ON GRAPH SET LOOKGRAPH VLINE
ON GRAPH SET GRMERGE ADVANCED
ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRLEGEND 0
ON GRAPH SET GRXAXIS 3
ON GRAPH SET GRAPHSTYLE *
setTemplateFile("");
setReportParsingErrors(false);
setSelectionEnableMove(false);
setTransparentBorderColor(getSeries(0),true);
setTransparentBorderColor(getSeries(1),true);
setTransparentBorderColor(getChartBackground(),true);
setPlace(true);
setMarkerShape(getSeries(0),0);
setDepthRadius(0);
setDepthAngle(0);
setCustomDataText(getDataText(0),false);
setExcludeMaxLabel(getO1Label(),false);
setTextString(getO1Title(),"");
setTextString(getY1Title(),"");
setScaleMustIncludeZero(getY1Axis(),false);
setLabelStagger(getO1Label(),true);
setTextRotation(getO1Label(),1);
setTextRotation(getDataText(),3);
setFontStyle(getDataText(),0);
setPlaceResize(getDataText(),0);
ENDSTYLE
END


This version skips the last value for myMeasure.

When I add the following line of code
setDisplay(getDataText(),true);
,

the skipped last value appears.

Unfortunately, I then have my data labels and cannot see any more of my graph.

FYI: Last value of myMeasure is the most right value on the x-axis.

Just to add something: I changed the graph to bar graph, and then all values are displayed.

But I have to use a line graph ;-(


Anyone some ideas how to solve this?

Kind regards,

Stefan

This message has been edited. Last edited by: Stefan,


WF 7.6.9
PMF 5.1.3
BID 7.6.9

Win XP
HTML, PDF, Excel, PowerPoint