How shift down TChart ?

TeeChart for ActiveX, COM and ASP
Post Reply
Nuzur
Newbie
Newbie
Posts: 32
Joined: Thu Nov 03, 2005 5:00 am
Contact:

How shift down TChart ?

Post by Nuzur » Tue Jan 23, 2007 3:06 pm

In some case I need shift down TChart with it series down. How I Can do it?
Thank You for replies.

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Tue Jan 23, 2007 3:13 pm

Hi Nuzur,

Sorry but I don't understand what are you trying to achieve here. Could you please be more specific?

Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Nuzur
Newbie
Newbie
Posts: 32
Joined: Thu Nov 03, 2005 5:00 am
Contact:

Post by Nuzur » Tue Jan 23, 2007 3:27 pm

Please read theme "Shift down TeeChart" in conference. There pictures.
Wait for reply.

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Tue Jan 23, 2007 3:37 pm

Hi Nuzur,

You can try changing chart's margins, for example:

Code: Select all

Private Sub Command1_Click()
    'TChart1.Panel.MarginUnits = muPixels
    TChart1.Panel.MarginTop = 20
    TChart1.Legend.TopPos = 25
End Sub
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Nuzur
Newbie
Newbie
Posts: 32
Joined: Thu Nov 03, 2005 5:00 am
Contact:

Post by Nuzur » Tue Jan 23, 2007 3:52 pm

Thank You it's what I need!

Nuzur
Newbie
Newbie
Posts: 32
Joined: Thu Nov 03, 2005 5:00 am
Contact:

Post by Nuzur » Tue Jan 23, 2007 4:01 pm

But in this I have another problem.
I use, for example,

Code: Select all

          m_Chart.GetDC()->TextOut(10,10,"My text");
but it not shown on chart, what I need to do?

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Tue Jan 23, 2007 4:08 pm

Hi Nuzur,

You should try using:

Code: Select all

          m_Chart.GetCanvas().TextOut(10,10,"My text"); 
In m_Chart's OnAfterDraw event.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Nuzur
Newbie
Newbie
Posts: 32
Joined: Thu Nov 03, 2005 5:00 am
Contact:

Post by Nuzur » Wed Jan 24, 2007 9:09 am

Thank You!

Post Reply