Use TeeChart in a Webpart for Sharepoint
Posted: 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.
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.