February 28, 2007, 10:50 AM
secretgraphics question
I have 2 graphics questions:
1. I have a request to produce a line graph for 13 weeks in a quarter. My graph is something like
SUM SALES ACROSS WEEK ACROSS DAY.
The problem is it is producing a vertical line from the x-axis to the data point. My question is how do you get rid of this vertical line (7 days X 13 weeks = 91 vertical lines is too many)?
2. the second question for the graph above is:
The x axis label is trying to repeat the value of week for each day,
Is there a way to suppress this?
Thank you in advance for any assistance.
February 28, 2007, 11:05 AM
FrankDutchWhat version is this?
IMHO it is not yet possible to do an double accross in a graph.
Frank
February 28, 2007, 11:16 AM
secretThe graph is working. If I open it in the painter it goes to seven graphs.(for seven days.) Thank you .
February 28, 2007, 12:14 PM
mgrackinThere is a command in the Graphing API which lets you tell the graph engine to skip labels on the X axis. I cannot remember what the command is off hand but i'm pretty sure this will answer question #2.
February 28, 2007, 01:44 PM
FrankDutchquote:
Originally posted by secret:
The graph is working. If I open it in the painter it goes to seven graphs.(for seven days.) Thank you .
then I think your command is not
ACROSS WEEK
ACROSS DAY
but
BY DAY
ACROSS WEEK
...
or
BY WEEK
ACROSS DAY
February 28, 2007, 01:57 PM
Danny-SRLSecret,
In order to skip grid lines you can use the following:
-* This is the automatic setting for label skipping
setO1LabelAutoSkip(1);
-*==========================================
-*
-* This is the MANUAL setting for label skipping
-*setO1LabelAutoSkip(2);
-* You then have to give a value to setO1LabelSkipCount to decide how many labels to skip
-* This can be done by having a preliminary TABLE find out how many x-values there are
-* and calculate the skipping number. Try both and see
-*setO1LabelSkipCount(4);
-*setO1LabelSkipBegin(0);