Вопрос

I want to make a charting control for an embedded device using Silverlight for Windows Embedded. Currently i am planning to use line shape for drawing the graph.

My question is if its a good approach(performance wise) or should i look for other options. Or if any controls are available for SWE.

Thanks

Это было полезно?

Решение

Silverlight is not a proper answer to drawing charts on an Windows Embedded Compact device. You should go for using (or creating) a native GDI element. If performance is very important (e.g. for a fast-updating chart), you might also consider DirectDraw.

The best way in a commercial project would probably be to use a readymade component, such as this one.

You can find somebody else's experiences and advice here for pointers to what to look for when doing this yourself. If you expand your post with more details about what you are actually trying to achieve, I might give you a more detailed response.

Другие советы

The answer is stop using Silverlight, since Microsoft is abandoning the product. Do it in Flash—or better yet, use HTML5 and JavaScript.

In recent windows embedded applications that use windows universal apps I would highly recommend oxyplot.

http://oxyplot.org/

These plots are the best I've found on the internet so far and very easy to use. Best of all they are free. You can get these using a NuGet Package manager which makes getting updates fairly simple.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top