Focal Point
[CLOSED] Trouble Aligning Different Lines of Graph Header

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

July 12, 2018, 12:13 PM
Brandon Andrathy
[CLOSED] Trouble Aligning Different Lines of Graph Header
Hello,

I am looking to assign different alignments to a header in a graph however my code doesn't seem to be working. I want to justify to the right the first two lines and then center the third line which works fine in a .fex report but the graph doesn't. Here is the code I'm using below. Any assistance with this would be greatly appreciated. Thanks in advance!

GRAPH FILE dst_dev/_dst_star
SUM
COMPUTE ADHERENCE/D12.1% = ( NUM/DEN ) * 100 ; AS 'Adherence Rate'
BY LOWEST MEASUREFULLNAME AS 'Measure Name'
HEADING
"Export to PDF"
"Export to Excel"
"Measures Performance Report - Graph"
ON GRAPH PCHOLD FORMAT JSCHART
ON GRAPH SET VZERO OFF
ON GRAPH SET HTMLENCODE ON
ON GRAPH SET GRAPHDEFAULT OFF
ON GRAPH SET EMBEDHEADING ON
ON GRAPH SET GRWIDTH 1
ON GRAPH SET AUTOFIT ON
ON GRAPH SET UNITS &WF_STYLE_UNITS
ON GRAPH SET HAXIS &WF_STYLE_WIDTH
ON GRAPH SET VAXIS &WF_STYLE_HEIGHT
ON GRAPH SET LOOKGRAPH BAR
ON GRAPH SET STYLE *
TYPE=HEADING,
LINE=1,
JUSTIFY=RIGHT,
SIZE=10
$
TYPE=HEADING,
LINE=2,
JUSTIFY=RIGHT,
SIZE=10
$
TYPE=HEADING,
LINE=3,
JUSTIFY=Center,
SIZE=10
$

This message has been edited. Last edited by: FP Mod Chuck,


WebFOCUS 8204
July 12, 2018, 01:22 PM
FP Mod Chuck
Brandon
Welcome to Focal Point, it is a great forum for getting answers to your development questions.

I played around with your code and as you said graphs don't appear to be able to do what you want. I suggest you open a case with techsupport and see if this is a bug.


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats