Page 1 of 1
bottom axis labels overlap
Posted: Mon Aug 02, 2004 8:05 pm
by 6925458
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
Posted: Mon Aug 02, 2004 11:41 pm
by Pep
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 ?
Posted: Wed Aug 04, 2004 2:21 pm
by 6925458
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]);
}
}