From: MT <mt...@ya...> - 2008-03-13 13:45:11
|
Thanks Dave, That example worked great for me. My mistake was to use System.Timers.Timer instead of Windows.Forms.Timer. System.Timers.Timer executes on an arbitrary thread which was the source of my problem I think. ----- Original Message ---- From: Dave Cline <dav...@gm...> To: npl...@li... Sent: Monday, March 10, 2008 9:34:09 PM Subject: Re: [Nplot-devel] Real-Time charting I built a simple trading example for MBTrading that uses NPlot graphing. It's way primitive - but demonstrates that indeed NPlot will deal with ticks and quotes and refreshes quite well. I've since revamped it considerably. I'll be posting the open sauce project up there sometime soon. You can find the source on Yahoo's group site for mbtrading. http://finance.groups.yahoo.com/group/mbtsdk/files/ MBTCSharpDemo.zip You'll need a demo account to MBTrading - but they're free... http://www.mbtrading.com/fx/demo.asp On Mon, Mar 10, 2008 at 6:08 PM, MT <mt...@ya...> wrote: > I hope it is ok for me to ask this question on this mailing list. Does nplot support real-time charting? If so are there any examples of it? If not, do you think it will be in future releases? I am getting threading exceptions when trying to refresh the chart series after updating the datasource. > > MT > > > > > ____________________________________________________________________________________ > Never miss a thing. Make Yahoo your home page. > http://www.yahoo.com/r/hs > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nplot-devel mailing list > Npl...@li... > https://lists.sourceforge.net/lists/listinfo/nplot-devel > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nplot-devel mailing list Npl...@li... https://lists.sourceforge.net/lists/listinfo/nplot-devel ____________________________________________________________________________________ Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs |