draw continuous graph in windows for using c# - c#

I want to draw continuous graph in windows for i want library like zgraph but continuous?

Zgraph can also draw realtime data.
http://zedgraph.org/wiki/index.php?title=Display_Dynamic_or_Real-Time_Data

you can use MS chart control library.
Download it in this Link
It's easy to use and has many samples online.
don't forget to mark as answerd!

Related

Need to draw a realtime chart ( like ECG) using C# if it is possible ( for mobile phones)

My app recieve realtime data from ECG monitor and it should draw twelve graphs on a tablet/phone.
I already try to use SkiaSharp for this and Xamarin, but there is a real problem with drawing recieved data, the delay is to high since i dont understand how to clear the graph that is hidden behind the screen.
Maybe someone know how to clear hidden parts, or can suggest another solution,like different framework or library.
Take a look at https://www.syncfusion.com/xamarin-ui-controls (DATA VISUALIZATION) its free for small companies and private projects.

How to add LateX/Math to Windows 10 Ink API?

From highlights of Microsoft Build 2016, I saw Microsoft was pushing its new Ink API.
What exactly are the new additions?
Can Ink
Understand handwriting and digitize it?
Understand Math/Equations and digitize it (ie Latex)?
Are there any other APIs that can do this for UWP or Unity?
How would I go about creating one myself?
Jeans link refers to custom recognition. Is this what I'm looking for? I feel like there should be an option to add symbols to the lookup dictionary.
Yes for the first point, you can convert ink strokes to text using handwriting recognition.
Recognize ink strokes
For math and equations, didn't see any default Recognizer at the moment.
-Understand handwriting and digitize it?
Yes, that's the whole point of the API.
It's basically OCR 2.0
-Understand Math/Equations and digitize it (ie Latex)?
Nope. Or, at least, not yet because, of course, it would be a logical expansion of the API.
Are there any other APIs that can do this for UWP or Unity?
Not that I had heard of.
Finally, I don't think that Jeans link is what you are looking for. It's not simply a matter of adding a new symbol, but also to represent it conveniently.
For example, how would you do to display \frac{\,\frac{a}{b}\,}{\frac{c}{d}} ?
There is no correct way of positioning the a/b over the fraction bar and the c/d under it. Even if you can use superscript and subscript, there is no way for a standard police to align them vertically.
The good news is: Ink is an API, which means you could create a wrapper that would, for example, automate the latex pdf generation. So yes, you could create the functionality you're looking for with a bit on C# (as it looks you're on a Microsoft environment)
Take a look at this thread: https://tex.stackexchange.com/questions/53914/compile-tex-inside-microsoft-c-net
Best of luck!
For LaTex, there's a Xamarin library called CSharpMath, which uses SkiaSharp to render the math expression. It is ported from the iosMath project.
As the library is .NetStandard, so it also means you can use it in an UWP app.
The repository can be found here.

Interactive spline chart for C# WPF/Winforms

I'm looking to buy or build a spline chart (just like one here) in C# .NET for which the data points can be draged by mouse and the resulting underlying dataset changes.
Could some one point me in the right direction?
I've been making interactive spline charting using native .NET WinForm charting controls. MSDN has an expansive demo of these features, one of which is chart interactivity.
Samples Environment for Microsoft Chart Controls
You could try using the Silverlight toolkit.... LINK
But what is the problem you are having with the Visifire chatrs you have shown in example ?

News Marquee over analog TV stream - C#

I want to put a news marquee over an analog TV stream using c#, I can stream analog TV using DirectShow but I can't figure out how to mix it with rotating text, should I create a filter? or I have to use another technology than DirectShow?
DirectShow is the simplest way of doing this but it does have a bit of a learning curve, particularly coming from C#. The Wikipedia page gives you a basic overview of DirectShow.
DirectShow tools are available in the latest Windows SDK. Using C++ for DirectShow programming is more straightforward but you can use DirectShow fairly easily via COM interop or DirectShow.net (which I haven't tried yet). If using COM interop the following article is helpful:
http://blogs.msdn.com/b/ericgu/archive/2004/09/20/232027.aspx
You may be able to use the VMR overlay filter if the animation performance is smooth enough. See the following articles
http://www.codeproject.com/KB/audio-video/VideoPicture.aspx
http://www.codeproject.com/KB/audio-video/Ticker.aspx
http://msdn.microsoft.com/en-us/library/dd407344(v=vs.85).aspx
Alternatively you will need to write your own filter that renders the text on each frame adjusting its position in synch with the time stamps of the video frames. If you only need to do this inside your own application then the following approach might be easiest
http://www.sichbo.ca/Free_Code/100_C_Sharp_directshow_filters
Microsoft officially recommend that DirectShow filters should be created in C++ for performance reasons but overlaying scrolling text should be OK in C# as the bottleneck will be the APIs used to overlay the text if you program carefully.
Actually you don't have to write a filter to draw some text over your video. Just make a graph where uncompressed video goes through sample grabber (one of standard DirectShow filters), set up a callback for the sample grabber and you'll be able to modify the video data in your callback. Doing it in C# is very easy using DirectShow.NET but not optimal due to marshalling. You can first build such a graph in GraphEditPlus, then it will show you source code in C# or C++ of how to build this graph and use sample grabber.

Graphing or charting in windows mobile 6

Do you know of a [free] library for graphing or charting, similar to Zedgraph, but that works for developing on windows mobile 6?
A basic, free chart API is http://www.codeproject.com/KB/mobile/pocketbargraph.aspx
If web access and bandwidth are not a problem, http://code.google.com/apis/chart/ might be an (admittedly unconventional) option.
Regards, tamberg
I once used a listbox to create a (horizontal) bar graph. I needed to catch a paint event for the listbox items to be able to draw the bars. Not easy, but free if your time is free...

Categories