July 23, 2007, 07:14 AM
lakshmiToolTip Display
Hi,
I've a Graph where the first series is a bar and the rest are lines.
I've attached the sample code developed using CAR. There are five bar values in this sample chart.
When I try to read the tool tip of the line series I'm not able to get the values corrsponding to the last bar (W Germany in this case). The tool tips are getting displayed only for the first four values.
Is there a way to display the last value???
Any help regarding this would be great.
GRAPH FILE CAR
SUM CAR.SPECS.LENGTH CAR.SPECS.MPG CAR.SPECS.ACCEL CAR.SPECS.WHEELBASE
ACROSS CAR.ORIGIN.COUNTRY
ON GRAPH SET LOOKGRAPH VBAR
ON GRAPH SET GRAPHEDIT SERVER
ON GRAPH SET BARNUMB OFF
ON GRAPH SET 3D OFF
ON GRAPH SET VZERO ON
ON GRAPH SET GRID OFF
ON GRAPH PCHOLD FORMAT PNG
ON GRAPH SET GRAPHSTYLE *
setExtendToFrameEdge(true);
setRiserWidth(5);
setRiserWidth(20);
setMarkerDisplay(false);
setConnectLineMarkers(true);
setConnectScatterMarkers(true);
setO1LabelDisplay(true);
setO1AxisSide(0);
setO1MajorGridDisplay(false);
setO1MinorGridDisplay(false);
setAxisAssignment(0,0);
setSeriesType(0,2);
setAxisAssignment(1,0);
setSeriesType(1,2);
setAxisAssignment(2,0);
setSeriesType(2,2);
setAxisAssignment(3,0);
setY1LabelDisplay(true);
setY1AxisSide(0);
setY1MajorGridDisplay(false);
setY1MinorGridDisplay(false);
setTextFormatPreset(getY1Label(),-1);
setTextFormatPattern(getY1Label(),"#.##");
setPieFeelerTextDisplay(0);
setTextFormatPreset(getPieSliceLabel(),1);
setRiserBorderMode(1);
setSeriesDefaultTransparentBorderColor(true);
setUseSeriesBorderDefaults(true);
setLegendDisplay(true);
setFontSizeAbsolute(getY1Title(),true);
setFontSizeAbsolute(getY1Label(),true);
setFontSizeAbsolute(getY2Title(),true);
setFontSizeAbsolute(getY2Label(),true);
setFontSizeAbsolute(getO1Title(),true);
setPlace(true);
ENDSTYLE
ON GRAPH SET STYLE *
PAGESIZE='Letter',
LEFTMARGIN=0.250000,
RIGHTMARGIN=0.250000,
TOPMARGIN=0.250000,
BOTTOMMARGIN=0.250000,
SQUEEZE=ON,
ORIENTATION=PORTRAIT,
$
TYPE=REPORT,
GRID=OFF,
FONT='TIMES NEW ROMAN',
SIZE=10,
BACKCOLOR='NONE',
STYLE=NORMAL,
$
ENDSTYLE
END
July 23, 2007, 12:23 PM
FrankDutchThis might be caused by the size of the graph, try to make it a bit smaller (600 points wide)
July 24, 2007, 12:38 AM
lakshmiFrank,
I dont think that size of the graph causes this. I tried reducing the size..But not getting the tool tip display
July 26, 2007, 12:38 AM
PiipsterTry:
setMarkerDisplay(true);
The smooth line disappears but you can get W Germany's data displayed for each line.