To Export/Copy Graphs along with legend's list box to other

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
TChart
Newbie
Newbie
Posts: 19
Joined: Fri Jul 02, 2004 4:00 am
Contact:

To Export/Copy Graphs along with legend's list box to other

Post by TChart » Tue Jul 18, 2006 11:32 am

Hi


I have both TChart Componet for graphs drawing and its Legends are described in List box which is other componet

I want to Export or copy to graphs along with legends list box into other programs such as PowerPoint.


Regards,
Basamma

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 Jul 18, 2006 11:42 am

Hi Basamma,

Please see my reply at your other post.
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

TChart
Newbie
Newbie
Posts: 19
Joined: Fri Jul 02, 2004 4:00 am
Contact:

How to get a print previer of TChart and List box

Post by TChart » Wed Jul 19, 2006 6:58 am

Hello,

I have a T-Chart component which has the graphs and one more list box component which has the list of legends of a graph... now on click of Preview button

I should get a preview of TChart and Legends List box... there shold be a option to move legends list box left,right,top , bottom
can u plz tell me how to do this?

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

Post by Narcís » Wed Jul 19, 2006 10:52 am

Hi Basamma,

Sorry but we don't understand what are you exactly trying to get. Could you please send us an example we can run "as-is" to reproduce the problem here?

You can post your files at news://steema.public.attachments newsgroup.

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

TChart
Newbie
Newbie
Posts: 19
Joined: Fri Jul 02, 2004 4:00 am
Contact:

Post by TChart » Wed Jul 19, 2006 12:10 pm

Hello,


I could not attach a file
As we in our company we are using Lotus Notes not Outlook
Now when I clicked on that link I got Server not found

My Major problem is now

1) In a single form I have a T-Chart Component which has Graph(Charts)
And I also Have a List box component which lists legends
2) I can Print Preview, Print and Even export to other programs to power point.
Only a T-Chart but not a List box which is there in the same form.

So I thought I can do like on clicking a button
Passing T-Chart and listbox to another form


Can u please tell me how to pass T-Chart and Listbox to another form?

Regards,
Basamma

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

Post by Narcís » Thu Jul 20, 2006 10:46 am

Hi Basamma,

You can pass a reference to the TeeChart and ListBox objects you've created to another form in the Form's constructor, e.g.:

Code: Select all

AnotherForm aForm = new AnotherForm(TChart myChart, ListBox myListBox);
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

TChart
Newbie
Newbie
Posts: 19
Joined: Fri Jul 02, 2004 4:00 am
Contact:

Post by TChart » Fri Jul 21, 2006 6:12 am

Hello,
Can u please tell me how to write a constructor for
Teecahrt (tChart1 ) to list box (chartListBox1).

so the i can pass in this manner wht u have said me in the earlier reply

AnotherForm aForm = new AnotherForm(TChart myChart, ListBox myListBox)

TChart
Newbie
Newbie
Posts: 19
Joined: Fri Jul 02, 2004 4:00 am
Contact:

Post by TChart » Fri Jul 21, 2006 6:54 am

Im facing problem with
writing a constroctor for
both TChart1 and for Listbox with name chartListBox1
can u please tell me this?


Regards
Basamma

TChart
Newbie
Newbie
Posts: 19
Joined: Fri Jul 02, 2004 4:00 am
Contact:

Post by TChart » Fri Jul 21, 2006 8:18 am

see I have written


Form1 :

Form2 frm = new Form2(this.tChart1);
frm.ShowDialog();

Form2 :

public Form2(tChart1 MytChart)
{
InitializeComponent();
this.tChart1 = MytChart;
}


can u plz correct this error?

Regards
Basamma

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

Post by Narcís » Fri Jul 21, 2006 11:49 am

Hi Basamma,

You can also export the chart to a .ten file (TeeChart template file) and pass a memorystream containing the template file in the constructor.

For more information on how to do that please read Tutorial 12 - Exporting and Importing Charts which you'll find at TeeChart's program group.
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

Post Reply