Page 1 of 1

Graph values are clipped on the Y and X axis

Posted: Mon Apr 05, 2004 11:52 pm
by 8123107
I find when I use the WebChart control that the last digits to the right on the X axis and to the top on the Y axis tend to get clipped from the viewing area of the graph.

Does anyone know how to prevent this ?

My initial guess is to increase the upper limits of both axis', but this is proving to be difficult.
Or
Can you specify a fixed increment ?
say for the x axis fix the increment amount to 5 which would read
0 5 10 15 20 25 30...
most of my graphs will fall in the same range and do not vary greatly.

Any help would be much appreciated.

thank you

Posted: Tue Apr 06, 2004 4:03 pm
by Pep
Hi,
I find when I use the WebChart control that the last digits to the right on the X axis and to the top on the Y axis tend to get clipped from the viewing area of the graph.

Does anyone know how to prevent this ?
How about setting the ClipPoints property to False ? :
Chart.Aspect.ClipPoints = false;
Can you specify a fixed increment ?
Yes, you can set the desired increment, and Min/Max values for the axes like :

Code: Select all

	WebChart1.Chart.Axes.Left.Increment = 5;
	WebChart1.Chart.Axes.Left.SetMinMax(0,50);