Page 1 of 1

Wrapping axis text and point series items dissapear zooming

Posted: Thu Apr 01, 2004 10:08 am
by 9079970
Two Questions;

1 - How do you get the text on an axis label to autowrap? (See pictures below)

2 - When zooming in on an area the plots for the point series seem to disappear.

I have a number of series and some of the points are overlapped. If I zoom in to one area of the chart the points for some, or all, of the series disappear - but they are visible in other areas.

Code: Select all

If TChart(SCATTER).Visible = True And Not TChart(SCATTER).Zoom.Zoomed Then
  x = TChart(SCATTER).MousePosition.x
  y = TChart(SCATTER).MousePosition.y
  ZoomAdjust = 150
  TChart(SCATTER).Zoom.ZoomRect x - ZoomAdjust, y - ZoomAdjust, x + ZoomAdjust, y + ZoomAdjust
  TChart(SCATTER).ClipPoints = True
End If
The image below shows full screen;
<img src="http:\\www.ppvote.com\tchart\zoomed_out.gif"><p>
This is zoomed in to the bottom left - the yellow diamond has gone.
Yesterday it was more random in what dissapeared - I had quite a few points going.
<img src="http:\\www.ppvote.com\tchart\zoomed_in.gif">

Posted: Mon Apr 05, 2004 2:00 pm
by Pep
Hi Simon,
1 - How do you get the text on an axis label to autowrap? (See pictures below)
you can see one example which show how to do this under :
C:\Program Files\TeeChart Pro v6 ActiveX Control\Examples\Visual
Basic\Visual Basic 5 & 6\Multiline Axis Labels
2 - When zooming in on an area the plots for the point series seem to disappear.
Im going to need one example with which I can reproduce the problem "as-is" here, could you please post
it in the steema.public.attachments newsgroup ?

Posted: Tue Apr 06, 2004 10:08 am
by 9079970
Posted into group, thanks

Posted: Tue Apr 06, 2004 10:20 am
by 9079970
Pep,

The example for multiline text is not quite what I need. It is the axis title (not the labels - sorry for the confusion) that need to autowrap.

I know how to manually add a carraige return but I do not know how long the title is going to be and need it to automatically wrap when it gets too large.

Thanx

Posted: Wed May 05, 2004 1:24 pm
by 9079970
Pep,

I posted an example in the steema.public.attachments newsgroup ("Point Series items disappear when zooming") on 6th April - any news??

Ta

Posted: Wed May 05, 2004 5:06 pm
by Pep
Hi Simon,

I sent a msg directly to your mail days ago telling the following (Maybe you've not received ?) :
Sent: Wednesday, April 07, 2004 11:15 AM
Subject: Re: Point Series items disappear when zooming

Hi Simon,

which TeeChart Pro version are you using ? I've tried here using the latest
TeeChart Pro v6.04 and works fine. I can do zoom and see all the points
(including yellow).