How to draw process graphics in Vista sidebar?

How to draw process graphics in Vista sidebar gadgets?

I have a gadget that collects data over time, and I want to draw animated graphics. My current approach is to draw a graph with VML, which I update from JScript by tick timer. Is this the best way? Can I return bitmaps from a DLL function as a worm on <IMG> ? Embed bit bits in HTML itself (and update it again through JScript)? I would like to hear some ideas.

Thanks!

+4
source share
3 answers

Now you can use Silverlight 2 with Sidebar gadgets - the Silverlight toolkit available in Codeplex ( http://www.codeplex.com/Silverlight ) includes chart controls (which support animation), so this should be relatively simple.

+1
source

The way I am doing this right now is that Javascript and Adobe Flash Player interact via ExternalInterface in ActionScript. It easily integrates local Javascript instances with the Flash Player instance, and you can communicate with almost anything in between. You can use the fantastic drawing APIs in ActionScript and really get some power in your own hands to create diagrams or just build some tools from the web.

But then, if the sandbox allows this, generating data using targeting with DLLs will be great! I have nothing functional to test it, so I leave it to the other participants.

0
source

What about wz_jsgraphics?

DHTML graphics via javascript

http://www.walterzorn.com/jsgraphics/jsgraphics_e.htm

0
source

All Articles