OWC TypeLine-Chart, bottom axis label - why does it behave strangely?

  • Thread starter Philip Hostettler
  • Start date
P

Philip Hostettler

Hi there!

I'm implementing an ASP-Page which shows a chart of some temperature-values.
These values are written into the database every 30 minutes, so there are 48
records per day.

I've set the size of the gif-Chart to 800 * 600. Up to about 15 days/ 720
records, it works without problems. With .TickLabelSpacing, I managed to
have always 7 labels (So there is enough space for every of the seven dates,
e.g. 24.10.2004 13:30). But the smaller the distance between the little
lines on the X-Axis become, the nearer is my problem... When there is not a
pixel of white space between two lines anymore, the labels are written
vertically, one letter under the other (not the whole string is
vertically/turned in an angle of 90 ° - this would not be so bad..., it's
displayed like the following date below!).
e.g.
2
4
..
1
0
..
2
0
0
4

1
3
:
3
0

But there is enough space for seven labels... The width of 800 pixel does
not change.
This problem persists also when I choose the TickLabelSpacing so wide that
there are just 3 or one label(s)....

Can anybody help to solve my problem?? Is it possible to show perhaps only
every 5th little line of the x-Axis or anything like that?
 
T

Thao Moua [ms]

Hello Philip.

I could not repro the issue you're seeing where the category labels are
displayed straight down one character at a time. Can you provide the OWC
version you're using? Also how did you pass the data to the Chartspace
control (ie database connection, literal data via SetData(), or from a
Spreadsheet control) ?

----------------------------------------------------------------------
Thao Moua
OWC Chartspace Support

This posting is provided "AS IS" with no warranties, and
confers no rights. Use of included script samples are
subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top