Wrapping axis text and point series items dissapear zooming

TeeChart for ActiveX, COM and ASP
Post Reply
Simon
Newbie
Newbie
Posts: 9
Joined: Thu Nov 27, 2003 5:00 am
Location: UK
Contact:

Wrapping axis text and point series items dissapear zooming

Post by Simon » Thu Apr 01, 2004 10:08 am

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">

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

Post by Pep » Mon Apr 05, 2004 2:00 pm

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 ?

Simon
Newbie
Newbie
Posts: 9
Joined: Thu Nov 27, 2003 5:00 am
Location: UK
Contact:

Post by Simon » Tue Apr 06, 2004 10:08 am

Posted into group, thanks

Simon
Newbie
Newbie
Posts: 9
Joined: Thu Nov 27, 2003 5:00 am
Location: UK
Contact:

Post by Simon » Tue Apr 06, 2004 10:20 am

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

Simon
Newbie
Newbie
Posts: 9
Joined: Thu Nov 27, 2003 5:00 am
Location: UK
Contact:

Post by Simon » Wed May 05, 2004 1:24 pm

Pep,

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

Ta

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

Post by Pep » Wed May 05, 2004 5:06 pm

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

Post Reply