Graph values are clipped on the Y and X axis

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Rhodies
Newbie
Newbie
Posts: 1
Joined: Thu Dec 04, 2003 5:00 am
Location: Sydney

Graph values are clipped on the Y and X axis

Post by Rhodies » Mon Apr 05, 2004 11:52 pm

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

Pep
Site Admin
Site Admin
Posts: 3274
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Tue Apr 06, 2004 4:03 pm

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);

Post Reply