Focal Point
[SOLVED] control the interval of the labels on the x axis

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

March 01, 2012, 12:45 PM
JohnB
[SOLVED] control the interval of the labels on the x axis
Does anyone know how to control the interval of the labels on the x axis? I would need it to display every 12th label, since the data for the x axis is months, and I only need the labels to appear at year intervals, while the line graph plots every month.

This message has been edited. Last edited by: JohnB,


WF 7.7.03, Windows 7, HTML, Excel, PDF
March 01, 2012, 08:57 PM
Mika Keranen
John, try the code below. Using labelSkip should do the trick.

Cheers,
Mika
GRAPH FILE EMPDATA
SUM SALARY
ACROSS HIREDATE
ON GRAPH SET GRAPHSTYLE *
setO1LabelSkipBegin(4);
setO1LabelAutoSkip(2);
setO1LabelSkipCount(4);
ENDSTYLE
END
-RUN




WebFOCUS 7.6.x
PMF 5.2.x
March 09, 2012, 12:19 PM
JohnB
Thank you!


WF 7.7.03, Windows 7, HTML, Excel, PDF