Page 1 of 1

Use TeeChart in a Webpart for Sharepoint

Posted: Fri Jun 27, 2008 7:44 am
by 9788246
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.

Posted: Fri Jun 27, 2008 8:28 am
by narcis
Hi MU,

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

Hope this helps!

Posted: Mon Jun 30, 2008 5:18 am
by 9788246
Thank you Narcis..

Scroll & Zoom not working in WebChart

Posted: Fri Jul 04, 2008 12:16 pm
by 9637291
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

Posted: Fri Jul 04, 2008 2:15 pm
by narcis
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.