[CLOSED] Advanced Graph Assistant - Linear Interpolation
Hello,
I've been looking for info on how to add a linear interpolation to a bar graph but I couldn't find anything. Is it even possible?
Thanks in advance.This message has been edited. Last edited by: Kerry,
WebFOCUS App Studio 8103 Windows7 All outputs
July 31, 2012, 01:14 PM
Danny-SRL
I suggest you look for something in Visual Discovery
Daniel In Focus since 1982 wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF
July 31, 2012, 03:31 PM
Dan Satchell
By "linear interpolation", do you mean a line connecting the bars in the graph?
WebFOCUS 7.7.05
July 31, 2012, 10:34 PM
diogopc
Yes sir.
WebFOCUS App Studio 8103 Windows7 All outputs
July 31, 2012, 11:56 PM
Dan Satchell
Here are two ideas using the CAR file. The first displays the graph values twice, once as bars and once as a line. The second uses a stacked bar graph with connect lines, but displays data for only one bar segment per x-axis value (no stacking).
GRAPH FILE CAR
SUM DEALER_COST
DEALER_COST AS ''
ACROSS CAR
ON GRAPH SET LOOKGRAPH VBAR
ON GRAPH SET GRAPHEDIT SERVER
ON GRAPH SET 3D OFF
ON GRAPH SET VZERO ON
ON GRAPH SET GRID ON
ON GRAPH SET GRAPHSTYLE *
setMarkerDisplay(false);
setSeriesType(1,2);
setSeriesDefaultTransparentBorderColor(true);
setUseSeriesBorderDefaults(true);
setUseSeriesShapes(true);
setMarkerShape(getSeries(1),0);
setNullLegendMarkerShapesAsSquares(false);
setLegendMarkersPerRow(1);
setPlace(true);
ENDSTYLE
ON GRAPH PCHOLD FORMAT PNG
END
GRAPH FILE CAR
SUM DEALER_COST
ACROSS CAR
ON GRAPH SET LOOKGRAPH VBRSTK1
ON GRAPH SET GRAPHEDIT SERVER
ON GRAPH SET 3D OFF
ON GRAPH SET VZERO ON
ON GRAPH SET GRID ON
ON GRAPH SET GRAPHSTYLE *
setDisplay(getStackConnectLine(),true);
setPlace(true);
ENDSTYLE
ON GRAPH PCHOLD FORMAT PNG
END
WebFOCUS 7.7.05
August 01, 2012, 02:29 AM
Danny-SRL
hmmm, I thought you meant a "trend line" This used to exist but apparently has been moved to Visual Discovery. Maybe there are other graph properties not used in DS.
Daniel In Focus since 1982 wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF
August 02, 2012, 03:35 PM
susannah
"interpolation", "trend line", "connecting dots" are 3 very different things. helps if you carefully pick your words. interpolation is the creation of a value, between others,where no value exists.
In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID