1
votes

I've tried to use MSChart and ZedGraph but they both require Full Trust. Are there any other graphing libraries that I could use in Medium Trust webhosting? I have to note that I have very low ASP.NET knowledge so far.

Thanks, Petr

EDIT: At the end, ZedGraph seems to be running well in Medium Trust. I just added the following line to AssemblyInfo.cs in the ZedGraph source code, recompiled and all is running OK:

[assembly: AllowPartiallyTrustedCallers ]
1

1 Answers

0
votes

I suggest you look at the google visualisation API - I use this in my project with great success. This requires no component on the server, but does require the use of JavaScript. They also have an API to create chart images which don't require JavaScript, though you are limited in the amount of data you can encode into a URL to produce these.

Visualisation API (Samples)

Google Chart API (Samples)