Focal Point
[SOLVED] Data labels in Info assist graphs

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

March 15, 2015, 09:02 AM
Ramcharan
[SOLVED] Data labels in Info assist graphs
Hi

I want to make the data labels for the graph to be vertical.
I used, setDataTextAngle(180);
But it is not working. Kindly help me on this.

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


WebFOCUS 8.0.0.7
Windows, All Outputs
March 16, 2015, 10:24 AM
<nick z>
Hi,
There is no way to do Data Text rotation from IA. But you can do it in code.
Add:
setTextRotation(getDataText(),1);


 

GRAPH FILE EMPLOYEE
SUM CURR_SAL
BY LAST_NAME
ON GRAPH SET LOOKGRAPH VBAR
ON GRAPH PCHOLD FORMAT PNG
ON GRAPH SET GRAPHSTYLE *
setReportParsingErrors(false);
setSelectionEnableMove(false);
setDataTextDisplay(true);
setTextRotation(getDataText(),1);
ENDSTYLE
END






However,
This call will only work for PNG format in WF8009 release or lower.
It will work in HTML5 format starting in WF8103.

Hope this helps.

Thanks.
Nick.