Focal Point
[CLOSED] can a graphs haxis and vaxis be set to cm

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

October 13, 2014, 07:39 AM
otto
[CLOSED] can a graphs haxis and vaxis be set to cm
I seem to be having issues setting haxis and vaxis as cms don't seem to work is it only pixels:
Running the below code doesn't make the HAXIS 400 cm and the VAXIS 200cm.

Any help appreciated.

-* File newfex153.fex
GRAPH FILE CAR
SUM CAR.BODY.SALES
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 ON
ON GRAPH SET UNITS CM
ON GRAPH SET HAXIS 400
ON GRAPH SET VAXIS 200
ON GRAPH PCHOLD FORMAT PNG
ON GRAPH SET GRAPHSTYLE *
setMarkerDisplay(true);
setConnectLineMarkers(false);
setConnectScatterMarkers(false);
setO1LabelDisplay(true);
setO1AxisSide(0);
setO1MajorGridDisplay(true);
setO1MajorGridStyle(0);
setO1MinorGridDisplay(false);
setAxisAssignment(0,0);
setY1LabelDisplay(true);
setY1AxisSide(0);
setY1MajorGridDisplay(true);
setY1MajorGridStyle(0);
setY1MinorGridDisplay(false);
setTextFormatPreset(getY1Label(),-1);
setTextFormatPattern(getY1Label(),"#.##");
setPieFeelerTextDisplay(1);
setPieLabelDisplay(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 *
SQUEEZE=ON,
ORIENTATION=PORTRAIT,
$
TYPE=REPORT,
GRID=OFF,
FONT='TIMES NEW ROMAN',
SIZE=10,
$
ENDSTYLE
END

This message has been edited. Last edited by: <Kathryn Henning>,


WF 8201, Windows Server 2012 R2, SQL Server 2014, HTML, PDF, Excel, Powerpoint, Active Report
October 13, 2014, 09:43 AM
Alan B
I believe that only SVG graphs allow units other than pixels to be used.


Alan.
WF 7.705/8.007
October 14, 2014, 05:25 AM
otto
Alan B many thanks for your help.

in the below point it says that SVG is not supported in Internet Explorer 8 which is what we are using so I have an issue with that but I guess that will be solved when our Internet Explorer is upgraded.

[CLOSED] Graph problem: SVG only format that does not display

Any ideas for my being able to size a graph based on cm if I am using IE8.


WF 8201, Windows Server 2012 R2, SQL Server 2014, HTML, PDF, Excel, Powerpoint, Active Report