[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