bottom axis labels overlap

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
dave
Newbie
Newbie
Posts: 4
Joined: Thu Oct 31, 2002 5:00 am

bottom axis labels overlap

Post by dave » Mon Aug 02, 2004 8:05 pm

Using a 3D chart, the bottom axis labels overlap. Resizing will make them better and then worse. Changing the separation value only make it worse. Is there a way to get the auto sizing to work properly?

version 1.0.1189.31308

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

Post by Pep » Mon Aug 02, 2004 11:41 pm

Hi Dave,

setting the axis as Automatic should work fine, if you've set automatic to false then you'll have to use other tricks like set a label angle,..
If you're using the Axis as automatic, could you please post the code you're using so I can reproduce the problem here ?

dave
Newbie
Newbie
Posts: 4
Joined: Thu Oct 31, 2002 5:00 am

Post by dave » Wed Aug 04, 2004 2:21 pm

The axis is set to auto. I upgraded to the latest version and it improved, but is still a problem. The labels are typically 10-11 chars.

Thanks,


// Create the surface
surface = new Steema.TeeChart.Styles.Surface();
tChart1.Series.Add(surface);
//tChart1.Axes.Bottom.Labels.Separation = 10;
surface.Title = title;
surface.StartColor = color;
surface.IrregularGrid = true;

// Load the data into the surface
for (int x=0; x<cal.X_AxisSize; x++)
{
for (int y=0; y<cal.Y_AxisSize; y++)
{
double z = cal.MapDbl[y,x];
// Put z in the middle to get desired surface view
// Add y-axis labels here
surface.Add((double)y, z, (double)x, cal.Y_Axis.RowValue[y]);
}
}

Post Reply