Use TeeChart in a Webpart for Sharepoint

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
MU
Newbie
Newbie
Posts: 24
Joined: Mon Sep 05, 2005 4:00 am

Use TeeChart in a Webpart for Sharepoint

Post by MU » Fri Jun 27, 2008 7:44 am

Hello,
I have used TeeChart several times in Win-Forms. Now, I have to create a Web part for the Sharepoint server, which has to show a chart. I read your answer in a similiar topic:

"TeeChart for .NET may be used with Sharepoint Server, principally in the following two ways:

- Creating a Webpart that contains an image and generating the image via a call to a Chart generator process via dynamic parameter updates from the webpage. I've sent you an example project of that type of Webpart format.

The Chart generator process would similar to that included in the TeeChart ASP.NET demo under "Interacting with Charts:Chart as Image:Series Types as Image"

- Creating a UserControl (.ascx) that contains the Chart. We have no current example of that to send you but tests were made to support a customer information request so we can confirm that the option functions
.
"

I tried the both solutions:
First i created a user control (.ascx) and added a chart to it. I is beeing shown in a normal asp page.But not in webpart (in sharepoint page)
The i tried the othe way and added a image to the webpart and tried to get the image (.ImageUrl) from an other page that contains a chart. The image can bee seen in a normal asp page but agein not in webpart.

Could you please send a sample code or tell me what i should do?
Thanks , MU.

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 Jun 27, 2008 8:28 am

Hi MU,

Sure, I just sent you an example using TeeChart in a WebPart.

Hope this helps!
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

MU
Newbie
Newbie
Posts: 24
Joined: Mon Sep 05, 2005 4:00 am

Post by MU » Mon Jun 30, 2008 5:18 am

Thank you Narcis..

Hiren
Newbie
Newbie
Posts: 4
Joined: Wed Jun 22, 2005 4:00 am
Contact:

Scroll & Zoom not working in WebChart

Post by Hiren » Fri Jul 04, 2008 12:16 pm

Hi Narcis

I am facing problem in webchart whatever I get is an image so i could not do anything. I can not scroll it or zoom it.

If you have any example of webchart than please help me.

I am using visual studio 2005 -> Asp.Net -> C#

My email address is hirenpatel29@gmail.com

Thanking you.

Warm Regards:
Hiren Patel

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 04, 2008 2:15 pm

Hi Hiren,

First of all please notice that WebChart is rendered as an image to the client and it can offer a limited level of interaciton compared to WinForms version.

Anyway, you can find the live ASP.NET demo where it's shown how to zoom or scroll WebCharts at the Interacting with Charts section.

Full demo project is also shipped with the installer at C:\Program Files\Steema Software\TeeChart for .NET v3\TeeChartForNET.
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