From: FXHat - <fxh...@gm...> - 2008-09-24 12:11:26
|
Just a quick question, is NPlot still being developed? I noticed the last release is from almost two years ago. Regards, Jan On Wed, Jul 2, 2008 at 12:00 AM, <npl...@li...>wrote: > Send Nplot-devel mailing list submissions to > npl...@li... > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/nplot-devel > or, via email, send a message with subject or body 'help' to > npl...@li... > > You can reach the person managing the list at > npl...@li... > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Nplot-devel digest..." > > > Today's Topics: > > 1. Axis.TicksAngle patch (Hywel Thomas) > 2. [ nplot-Bugs-1901521 ] Y Axis recommendation extended while X > Axis is not (SourceForge.net) > 3. [ nplot-Bugs-2000693 ] Axis Ticks drawn at wrong angle > (SourceForge.net) > 4. Nplot refresh performance problem (Daniel Cruz Barcia) > 5. nplot cryptographic error (MT) > 6. Re: nplot cryptographic error (Ben Gruver) > 7. Re: nplot cryptographic error (Angel Marin) > 8. mouseover text on plot (MT) > 9. Re: nplot cryptographic error (MT) > 10. Re: mouseover text on plot (Ben Gruver) > 11. Re: mouseover text on plot (MT) > 12. Re: mouseover text on plot (Ben Gruver) > 13. Re: mouseover text on plot (MT) > 14. Re: mouseover text on plot (Ben Gruver) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Mon, 02 Jun 2008 11:24:29 +0100 > From: Hywel Thomas <hy...@co...> > Subject: [Nplot-devel] Axis.TicksAngle patch > To: npl...@li... > Message-ID: <484...@co...> > Content-Type: text/plain; charset="iso-8859-1" > > This patch corrects the TicksAngle code in Axis.cs > > Files affected: Axis.cs, PlotSurface2DDemo.cs > > > > TicksAngle is defined to be anti-clockwise from the axis direction for a > positive angle (as is conventional for 2D coordinates). However, > because the physical (pixel) origin in System.Drawing.Graphics is at the > top left of the screen, rotations (as in RotateTransform) are > clockwise. This has caused some confusion when drawing the Ticks, and > the code uses both the negative of the TicksAngle and the (A-B) > trignometrical formula to rotate the tick. > > The above changes have been made, the formulae have been rearranged, and > some additional comments added to the code to clarify it (hopefully!) > > In addition, it is conventional to place ticks *outside* the plot area > (ie to the left of the positive Y_axis and below the positive X-axis) so > that the default values for a new Axis should be:- > > TicksAngle_ = 3.0f * PI / 2.0f; // or -PI/2.0f > TickTextNextToAxis = false; > > and these changes have been made to the Axis constructor routine. > > The axis constructors in PlotSurface2D.cs have the correct TicksAngle > defined and do not need changing. > > > Only one of the demo routines (Mockup demo) uses specific values for > TicksAngle, and the default values will now be correct. Lines have been > removed from PlotSurface2DDemo.cs to allow the default values to stand. > > Note that in all demos, the Ticks are now drawn outside the plot area > (which is the convention), and if the original appearance is preferred, > TicksAngle must be set to PI/2.0f specifically. > -------------- next part -------------- > An embedded and charset-unspecified text was scrubbed... > Name: CSDiff for Axis.cs.txt > -------------- next part -------------- > An embedded and charset-unspecified text was scrubbed... > Name: CSDiff for PlotSurface2DDemo.cs.txt > > ------------------------------ > > Message: 2 > Date: Wed, 04 Jun 2008 18:42:33 -0700 > From: "SourceForge.net" <no...@so...> > Subject: [Nplot-devel] [ nplot-Bugs-1901521 ] Y Axis recommendation > extended while X Axis is not > To: no...@so... > Message-ID: <E1K...@sc...> > Content-Type: text/plain; charset="UTF-8" > > Bugs item #1901521, was opened at 2008-02-25 10:59 > Message generated for change (Comment added) made by jesusfreke > You can respond by visiting: > > https://sourceforge.net/tracker/?func=detail&atid=821568&aid=1901521&group_id=161868 > > Please note that this message will contain a full copy of the comment > thread, > including the initial issue submission, for this request, > not just the latest update. > Category: General > Group: None > Status: Open > Resolution: None > Priority: 5 > Private: No > Submitted By: Matthew McDougal (mmdoogie) > Assigned to: Nobody/Anonymous (nobody) > Summary: Y Axis recommendation extended while X Axis is not > > Initial Comment: > I ran into a problem that I wouldn't have even noticed had I not been > trying to use a LogAxis as the Y Axis on a plot. > > myPlotSurface.YAxis1 = new LogAxis(myLinePlot.SuggestYAxis) > > When I then tried to refresh my plot, it would fail saying I can't have > negative data on a log axis, but of course I didn't have any negative data. > > Looking at the SequenceAdapter code in SVN, which I've trimmed a little > just to get the relevant parts: > > public Axis SuggestXAxis() > { > Axis a = this.XAxisSuggester_.Get(); > > // The world length should never be returned as 0 > // This would result in an axis with a span of 0 units > // which can not be properly displayed. > if (a.WorldLength == 0.0) > { > a.IncreaseRange(0.08); > } > > return a; > } > > public Axis SuggestYAxis() > { > Axis a = this.YAxisSuggester_.Get(); > a.IncreaseRange(0.08); > > return a; > } > > Basically, what occurs is on the X axis, the range is only increased if the > returned axis was zero, but on the Y axis, it is always increased by +/- 8% > of the range. If your span is sufficiently large enough, and your lower > limit close enough to zero, the range can get extended negative. > > There may be a reason I don't know about, but if there isn't, I would > suggest making the Y axis behave in the same manner as the X axis. > > --matt > > ---------------------------------------------------------------------- > > Comment By: JesusFreke (jesusfreke) > Date: 2008-06-04 20:42 > > Message: > Logged In: YES > user_id=2104277 > Originator: NO > > I ran into this same problem. Here's a quick code sample that generates > the error: > > NPlot.Bitmap.PlotSurface2D plot = new NPlot.Bitmap.PlotSurface2D(1000, > 1000); > > LogAxis verticalAxis = new LogAxis(); > plot.YAxis1 = verticalAxis; > > System.Collections.ArrayList yvalues = new > System.Collections.ArrayList(); > yvalues.Add(1); > yvalues.Add(1000000); > > System.Collections.ArrayList xvalues = new > System.Collections.ArrayList(); > xvalues.Add(0); > xvalues.Add(1); > > LinePlot linePlot = new LinePlot(yvalues, xvalues); > plot.Add(linePlot); > > > A workaround to this issue is to add the lineplot first, and then the log > axis. > > > The problem is because the yaxis range is increased by 8%, and then that > new range is passed to the "LUB" method of the log axis, which complains > because the lower bound of the "suggested" axis is negative. I'm not > familiar enough with the code to know what the best way to fix this might > be. I don't think it would be to remove the 8% range increase altogether, I > assume that is done for display reasons, so that the data doesn't go right > up against the top and bottom of the graph. > > ---------------------------------------------------------------------- > > You can respond by visiting: > > https://sourceforge.net/tracker/?func=detail&atid=821568&aid=1901521&group_id=161868 > > > > ------------------------------ > > Message: 3 > Date: Mon, 23 Jun 2008 11:03:33 +0000 > From: "SourceForge.net" <no...@so...> > Subject: [Nplot-devel] [ nplot-Bugs-2000693 ] Axis Ticks drawn at > wrong angle > To: no...@so... > Message-ID: <E1K...@56...> > Content-Type: text/plain; charset="UTF-8" > > Bugs item #2000693, was opened at 2008-06-23 12:03 > Message generated for change (Tracker Item Submitted) made by Item > Submitter > You can respond by visiting: > > https://sourceforge.net/tracker/?func=detail&atid=821568&aid=2000693&group_id=161868 > > Please note that this message will contain a full copy of the comment > thread, > including the initial issue submission, for this request, > not just the latest update. > Category: General > Group: None > Status: Open > Resolution: None > Priority: 5 > Private: No > Submitted By: Hywel Thomas (hywelthomas) > Assigned to: Nobody/Anonymous (nobody) > Summary: Axis Ticks drawn at wrong angle > > Initial Comment: > TicksAngle is defined to be anti-clockwise from the axis direction for a > positive angle (as is conventional for 2D coordinates). > However, existing code draws ticks at wrong (ie clockwise) rotation. > > Demonstration: AxisTestsForm.cs.patch has extra X-axes drawn to > show this problem. > Test code in: NPlot\demo\csharp\src\AxisTestForm.cs > > Cause: Because the physical (pixel) origin in System.Drawing.Graphics is at > the top left of the screen, rotations (as in RotateTransform) are > clockwise. This > > has caused some confusion when drawing the Ticks, and the existing code > uses both the negative of the TicksAngle and the (A-B) trignometrical > formula to > > rotate the tick. > > Resolution: The code in Axis.cs has been corrected and comments added to > clarify its operation. > > In addition, it is conventional to place ticks *outside* the plot area (ie > to the left of the positive Y_axis and below the positive X-axis) so that > the default > > values for a new Axis should be:- > > TicksAngle_ = 3.0f * PI / 2.0f; // or -PI/2.0f > TickTextNextToAxis = false; > > and these changes have been made to the Axis constructor routine. > > The axis constructors in PlotSurface2D.cs have the correct TicksAngle > defined and do not need changing. > > Only one of the demo routines (Mockup demo) uses specific values for > TicksAngle, and the default values will now be correct. Lines have been > removed > > from PlotSurface2DDemo.cs to allow the default values to stand. > > Note that in all demos, the Ticks are now drawn outside the plot area > (which is the convention) > If the original appearance is preferred, TicksAngle must be set to PI/2.0f > specifically. > > > Files affected:- > NPlot\src\Axis.cs; > NPlot\demo\charp\src\PlotSurface2DDemo.cs > NPlot\demo\csharp\src\AxisTestForm.cs > > > > > > ---------------------------------------------------------------------- > > You can respond by visiting: > > https://sourceforge.net/tracker/?func=detail&atid=821568&aid=2000693&group_id=161868 > > > > ------------------------------ > > Message: 4 > Date: Sat, 28 Jun 2008 19:43:23 +0200 > From: "Daniel Cruz Barcia" <pi...@gm...> > Subject: [Nplot-devel] Nplot refresh performance problem > To: npl...@li... > Message-ID: > <6f5...@ma...> > Content-Type: text/plain; charset=ISO-8859-1 > > Hi!. My name is Daniel and i?m trying to use NPlot to develop a little app > that receives values from an usb device (the USB-1208LS of Measurement > Computing), and i have a big performance problem with the Refresh?s > PlotSurface method. > > Is there a way to plot only the new data between iterations?. > > Thanks a lot. > > > ------------------------------ > > Message: 5 > Date: Tue, 1 Jul 2008 10:04:11 -0700 (PDT) > From: MT <mt...@ya...> > Subject: [Nplot-devel] nplot cryptographic error > To: npl...@li... > Message-ID: <529...@we...> > Content-Type: text/plain; charset=iso-8859-1 > > Hello > I am trying to build nplot code from src however I am seeing a > cryptographic failure error message.? It seems it is looking for a CSC file > that doesnt exist.? Does anyone know how I can get this file and how I can > build the code from src.? I am using vs 2005 and using msbee, if that makes > a difference. > > > > > ------------------------------ > > Message: 6 > Date: Tue, 1 Jul 2008 12:42:12 -0500 > From: "Ben Gruver" <jes...@je...> > Subject: Re: [Nplot-devel] nplot cryptographic error > To: npl...@li... > Message-ID: > <97d...@ma...> > Content-Type: text/plain; charset=ISO-8859-1 > > The easiest way to resolve this is to open the AssemblyInfo.cs file, and > delete the AssemblyKeyFile value. > > Also, you may want to grab the latest source from SVN, I think it's more up > to date than the zip download that's available (not positive) > > > > On Tue, Jul 1, 2008 at 12:04 PM, MT <mt...@ya...> wrote: > > > Hello > > I am trying to build nplot code from src however I am seeing a > > cryptographic failure error message. It seems it is looking for a CSC > file > > that doesnt exist. Does anyone know how I can get this file and how I > can > > build the code from src. I am using vs 2005 and using msbee, if that > makes > > a difference. > > > > > > > > ------------------------------------------------------------------------- > > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > > Studies have shown that voting for your favorite open source project, > > along with a healthy diet, reduces your potential for chronic lameness > > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > > _______________________________________________ > > Nplot-devel mailing list > > Npl...@li... > > https://lists.sourceforge.net/lists/listinfo/nplot-devel > > > > > ------------------------------ > > Message: 7 > Date: Tue, 01 Jul 2008 19:48:00 +0200 > From: Angel Marin <an...@an...> > Subject: Re: [Nplot-devel] nplot cryptographic error > To: npl...@li... > Message-ID: <486...@an...> > Content-Type: text/plain; charset=UTF-8 > > MT wrote: > > Hello > > I am trying to build nplot code from src however I am seeing > > a cryptographic failure error message. It seems it is looking > > for a CSC file that doesnt exist. Does anyone know how I can > > get this file and how I can build the code from src. I am using > > vs 2005 and using msbee, if that makes a difference. > > > You have to generate a key file before the first build (in order to get > a strong named .dll). sn.exe tool that comes with .net SDK will do: > > sn.exe -k NPlot-key.snk > > Then put the resulting .snk file in nplot's folder. > > Regards, > -- > Angel Marin > http://anmar.eu.org/ > > > > ------------------------------ > > Message: 8 > Date: Tue, 1 Jul 2008 11:47:37 -0700 (PDT) > From: MT <mt...@ya...> > Subject: [Nplot-devel] mouseover text on plot > To: npl...@li... > Message-ID: <388...@we...> > Content-Type: text/plain; charset=us-ascii > > > Is there a way to change the mouseover text when hovering over a series > element. For example, if the mouse is over a candlestick, I would like to > display the high, low, open, close, volume, date value, etc.. It seems that > i can only display world coordinates. > > Thanks > > mt > > > > > > ------------------------------ > > Message: 9 > Date: Tue, 1 Jul 2008 11:48:08 -0700 (PDT) > From: MT <mt...@ya...> > Subject: Re: [Nplot-devel] nplot cryptographic error > To: npl...@li... > Message-ID: <170...@we...> > Content-Type: text/plain; charset=us-ascii > > Thank you. That fixed my problem. > > majid > > > > ----- Original Message ---- > From: Ben Gruver <jes...@je...> > To: npl...@li... > Sent: Tuesday, July 1, 2008 12:42:12 PM > Subject: Re: [Nplot-devel] nplot cryptographic error > > The easiest way to resolve this is to open the AssemblyInfo.cs file, and > delete the AssemblyKeyFile value. > > Also, you may want to grab the latest source from SVN, I think it's more up > to date than the zip download that's available (not positive) > > > > On Tue, Jul 1, 2008 at 12:04 PM, MT <mt...@ya...> wrote: > > > Hello > > I am trying to build nplot code from src however I am seeing a > > cryptographic failure error message. It seems it is looking for a CSC > file > > that doesnt exist. Does anyone know how I can get this file and how I > can > > build the code from src. I am using vs 2005 and using msbee, if that > makes > > a difference. > > > > > > > > ------------------------------------------------------------------------- > > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > > Studies have shown that voting for your favorite open source project, > > along with a healthy diet, reduces your potential for chronic lameness > > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > > _______________________________________________ > > Nplot-devel mailing list > > Npl...@li... > > https://lists.sourceforge.net/lists/listinfo/nplot-devel > > > ------------------------------------------------------------------------- > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ > Nplot-devel mailing list > Npl...@li... > https://lists.sourceforge.net/lists/listinfo/nplot-devel > > > > > > ------------------------------ > > Message: 10 > Date: Tue, 1 Jul 2008 14:33:04 -0500 > From: "Ben Gruver" <jes...@je...> > Subject: Re: [Nplot-devel] mouseover text on plot > To: npl...@li... > Message-ID: > <97d...@ma...> > Content-Type: text/plain; charset=ISO-8859-1 > > I think you'll need to modify the nplot source to do this, but it shouldn't > be difficult. Take a look at Windows.PlotSurface2D.DoMouseMove. > > > > On Tue, Jul 1, 2008 at 1:47 PM, MT <mt...@ya...> wrote: > > > > > Is there a way to change the mouseover text when hovering over a series > > element. For example, if the mouse is over a candlestick, I would like > to > > display the high, low, open, close, volume, date value, etc.. It seems > that > > i can only display world coordinates. > > > > Thanks > > > > mt > > > > > > > > > > ------------------------------------------------------------------------- > > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > > Studies have shown that voting for your favorite open source project, > > along with a healthy diet, reduces your potential for chronic lameness > > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > > _______________________________________________ > > Nplot-devel mailing list > > Npl...@li... > > https://lists.sourceforge.net/lists/listinfo/nplot-devel > > > > > ------------------------------ > > Message: 11 > Date: Tue, 1 Jul 2008 13:00:11 -0700 (PDT) > From: MT <mt...@ya...> > Subject: Re: [Nplot-devel] mouseover text on plot > To: npl...@li... > Message-ID: <583...@we...> > Content-Type: text/plain; charset=us-ascii > > Thanks Ben for replying. I did see that function in Windows.PlotSurface2D. > However, how would I know if I am mousing over a chart series or not? In > other words the mouse over will be different if I am hovering over a > candlestick vs if I am in empty space in the chart (i.e. not hovering over a > series) > > Any ideas? > > > > ----- Original Message ---- > From: Ben Gruver <jes...@je...> > To: npl...@li... > Sent: Tuesday, July 1, 2008 2:33:04 PM > Subject: Re: [Nplot-devel] mouseover text on plot > > I think you'll need to modify the nplot source to do this, but it shouldn't > be difficult. Take a look at Windows.PlotSurface2D.DoMouseMove. > > > > On Tue, Jul 1, 2008 at 1:47 PM, MT <mt...@ya...> wrote: > > > > > Is there a way to change the mouseover text when hovering over a series > > element. For example, if the mouse is over a candlestick, I would like > to > > display the high, low, open, close, volume, date value, etc.. It seems > that > > i can only display world coordinates. > > > > Thanks > > > > mt > > > > > > > > > > ------------------------------------------------------------------------- > > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > > Studies have shown that voting for your favorite open source project, > > along with a healthy diet, reduces your potential for chronic lameness > > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > > _______________________________________________ > > Nplot-devel mailing list > > Npl...@li... > > https://lists.sourceforge.net/lists/listinfo/nplot-devel > > > ------------------------------------------------------------------------- > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ > Nplot-devel mailing list > Npl...@li... > https://lists.sourceforge.net/lists/listinfo/nplot-devel > > > > > > ------------------------------ > > Message: 12 > Date: Tue, 1 Jul 2008 15:30:42 -0500 > From: "Ben Gruver" <jes...@je...> > Subject: Re: [Nplot-devel] mouseover text on plot > To: npl...@li... > Message-ID: > <97d...@ma...> > Content-Type: text/plain; charset=ISO-8859-1 > > Ah, ok. I see your difficulty. I don't recall seeing any built-in way to > determine if the cursor is over a data point. (Although that doesn't mean > it's not there :)). > > Assuming it's not, you'll probably have to do your own "hit test" to > determine this. There are various functions which allow you to translate > between world and physical coordinates, which you may find helpful. > > I'm kinda surprised it doesn't have support for that.. I may just not have > run across that functionality yet :) > > > On Tue, Jul 1, 2008 at 3:00 PM, MT <mt...@ya...> wrote: > > > Thanks Ben for replying. I did see that function in > Windows.PlotSurface2D. > > However, how would I know if I am mousing over a chart series or not? > In > > other words the mouse over will be different if I am hovering over a > > candlestick vs if I am in empty space in the chart (i.e. not hovering > over a > > series) > > > > Any ideas? > > > > > > > > ----- Original Message ---- > > From: Ben Gruver <jes...@je...> > > To: npl...@li... > > Sent: Tuesday, July 1, 2008 2:33:04 PM > > Subject: Re: [Nplot-devel] mouseover text on plot > > > > I think you'll need to modify the nplot source to do this, but it > shouldn't > > be difficult. Take a look at Windows.PlotSurface2D.DoMouseMove. > > > > > > > > On Tue, Jul 1, 2008 at 1:47 PM, MT <mt...@ya...> wrote: > > > > > > > > Is there a way to change the mouseover text when hovering over a series > > > element. For example, if the mouse is over a candlestick, I would like > > to > > > display the high, low, open, close, volume, date value, etc.. It seems > > that > > > i can only display world coordinates. > > > > > > Thanks > > > > > > mt > > > > > > > > > > > > > > > > ------------------------------------------------------------------------- > > > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > > > Studies have shown that voting for your favorite open source project, > > > along with a healthy diet, reduces your potential for chronic lameness > > > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > > > _______________________________________________ > > > Nplot-devel mailing list > > > Npl...@li... > > > https://lists.sourceforge.net/lists/listinfo/nplot-devel > > > > > ------------------------------------------------------------------------- > > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > > Studies have shown that voting for your favorite open source project, > > along with a healthy diet, reduces your potential for chronic lameness > > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > > _______________________________________________ > > Nplot-devel mailing list > > Npl...@li... > > https://lists.sourceforge.net/lists/listinfo/nplot-devel > > > > > > > > > > ------------------------------------------------------------------------- > > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > > Studies have shown that voting for your favorite open source project, > > along with a healthy diet, reduces your potential for chronic lameness > > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > > _______________________________________________ > > Nplot-devel mailing list > > Npl...@li... > > https://lists.sourceforge.net/lists/listinfo/nplot-devel > > > > > ------------------------------ > > Message: 13 > Date: Tue, 1 Jul 2008 14:41:20 -0700 (PDT) > From: MT <mt...@ya...> > Subject: Re: [Nplot-devel] mouseover text on plot > To: npl...@li... > Message-ID: <259...@we...> > Content-Type: text/plain; charset=us-ascii > > I am trying to create my own "hit test" but I cant figure out how figure > out what the coordinates are of each individual data point in the series. > Any ideas where that info is stored? > > majid > > ----- Original Message ---- > From: Ben Gruver <jes...@je...> > To: npl...@li... > Sent: Tuesday, July 1, 2008 3:30:42 PM > Subject: Re: [Nplot-devel] mouseover text on plot > > Ah, ok. I see your difficulty. I don't recall seeing any built-in way to > determine if the cursor is over a data point. (Although that doesn't mean > it's not there :)). > > Assuming it's not, you'll probably have to do your own "hit test" to > determine this. There are various functions which allow you to translate > between world and physical coordinates, which you may find helpful. > > I'm kinda surprised it doesn't have support for that.. I may just not have > run across that functionality yet :) > > > On Tue, Jul 1, 2008 at 3:00 PM, MT <mt...@ya...> wrote: > > > Thanks Ben for replying. I did see that function in > Windows.PlotSurface2D. > > However, how would I know if I am mousing over a chart series or not? > In > > other words the mouse over will be different if I am hovering over a > > candlestick vs if I am in empty space in the chart (i.e. not hovering > over a > > series) > > > > Any ideas? > > > > > > > > ----- Original Message ---- > > From: Ben Gruver <jes...@je...> > > To: npl...@li... > > Sent: Tuesday, July 1, 2008 2:33:04 PM > > Subject: Re: [Nplot-devel] mouseover text on plot > > > > I think you'll need to modify the nplot source to do this, but it > shouldn't > > be difficult. Take a look at Windows.PlotSurface2D.DoMouseMove. > > > > > > > > On Tue, Jul 1, 2008 at 1:47 PM, MT <mt...@ya...> wrote: > > > > > > > > Is there a way to change the mouseover text when hovering over a series > > > element. For example, if the mouse is over a candlestick, I would like > > to > > > display the high, low, open, close, volume, date value, etc.. It seems > > that > > > i can only display world coordinates. > > > > > > Thanks > > > > > > mt > > > > > > > > > > > > > > > > ------------------------------------------------------------------------- > > > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > > > Studies have shown that voting for your favorite open source project, > > > along with a healthy diet, reduces your potential for chronic lameness > > > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > > > _______________________________________________ > > > Nplot-devel mailing list > > > Npl...@li... > > > https://lists.sourceforge.net/lists/listinfo/nplot-devel > > > > > ------------------------------------------------------------------------- > > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > > Studies have shown that voting for your favorite open source project, > > along with a healthy diet, reduces your potential for chronic lameness > > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > > _______________________________________________ > > Nplot-devel mailing list > > Npl...@li... > > https://lists.sourceforge.net/lists/listinfo/nplot-devel > > > > > > > > > > ------------------------------------------------------------------------- > > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > > Studies have shown that voting for your favorite open source project, > > along with a healthy diet, reduces your potential for chronic lameness > > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > > _______________________________________________ > > Nplot-devel mailing list > > Npl...@li... > > https://lists.sourceforge.net/lists/listinfo/nplot-devel > > > ------------------------------------------------------------------------- > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ > Nplot-devel mailing list > Npl...@li... > https://lists.sourceforge.net/lists/listinfo/nplot-devel > > > > > > ------------------------------ > > Message: 14 > Date: Tue, 1 Jul 2008 17:00:53 -0500 > From: "Ben Gruver" <jes...@je...> > Subject: Re: [Nplot-devel] mouseover text on plot > To: npl...@li... > Message-ID: > <97d...@ma...> > Content-Type: text/plain; charset=ISO-8859-1 > > Take a look at PhysicalAxis.WorldToPhysical. This will tranlate a world > (data) coordinate to the corresponding physical (screen) coordinate. > > You can access the PhysicalAxis objects that were used for the most recent > Draw operation via PlotSurface2D.PhysicalXAxis1Cache (along with the other > 3 > axises). > > To get a list of the data points themselves, I believe you can use > CandleDataAdapter. > > > > > > On Tue, Jul 1, 2008 at 4:41 PM, MT <mt...@ya...> wrote: > > > I am trying to create my own "hit test" but I cant figure out how figure > > out what the coordinates are of each individual data point in the series. > > Any ideas where that info is stored? > > > > majid > > > > ----- Original Message ---- > > From: Ben Gruver <jes...@je...> > > To: npl...@li... > > Sent: Tuesday, July 1, 2008 3:30:42 PM > > Subject: Re: [Nplot-devel] mouseover text on plot > > > > Ah, ok. I see your difficulty. I don't recall seeing any built-in way to > > determine if the cursor is over a data point. (Although that doesn't mean > > it's not there :)). > > > > Assuming it's not, you'll probably have to do your own "hit test" to > > determine this. There are various functions which allow you to translate > > between world and physical coordinates, which you may find helpful. > > > > I'm kinda surprised it doesn't have support for that.. I may just not > have > > run across that functionality yet :) > > > > > > On Tue, Jul 1, 2008 at 3:00 PM, MT <mt...@ya...> wrote: > > > > > Thanks Ben for replying. I did see that function in > > Windows.PlotSurface2D. > > > However, how would I know if I am mousing over a chart series or not? > > In > > > other words the mouse over will be different if I am hovering over a > > > candlestick vs if I am in empty space in the chart (i.e. not hovering > > over a > > > series) > > > > > > Any ideas? > > > > > > > > > > > > ----- Original Message ---- > > > From: Ben Gruver <jes...@je...> > > > To: npl...@li... > > > Sent: Tuesday, July 1, 2008 2:33:04 PM > > > Subject: Re: [Nplot-devel] mouseover text on plot > > > > > > I think you'll need to modify the nplot source to do this, but it > > shouldn't > > > be difficult. Take a look at Windows.PlotSurface2D.DoMouseMove. > > > > > > > > > > > > On Tue, Jul 1, 2008 at 1:47 PM, MT <mt...@ya...> wrote: > > > > > > > > > > > Is there a way to change the mouseover text when hovering over a > series > > > > element. For example, if the mouse is over a candlestick, I would > like > > > to > > > > display the high, low, open, close, volume, date value, etc.. It > seems > > > that > > > > i can only display world coordinates. > > > > > > > > Thanks > > > > > > > > mt > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------- > > > > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > > > > Studies have shown that voting for your favorite open source project, > > > > along with a healthy diet, reduces your potential for chronic > lameness > > > > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > > > > _______________________________________________ > > > > Nplot-devel mailing list > > > > Npl...@li... > > > > https://lists.sourceforge.net/lists/listinfo/nplot-devel > > > > > > > > ------------------------------------------------------------------------- > > > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > > > Studies have shown that voting for your favorite open source project, > > > along with a healthy diet, reduces your potential for chronic lameness > > > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > > > _______________________________________________ > > > Nplot-devel mailing list > > > Npl...@li... > > > https://lists.sourceforge.net/lists/listinfo/nplot-devel > > > > > > > > > > > > > > > > ------------------------------------------------------------------------- > > > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > > > Studies have shown that voting for your favorite open source project, > > > along with a healthy diet, reduces your potential for chronic lameness > > > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > > > _______________________________________________ > > > Nplot-devel mailing list > > > Npl...@li... > > > https://lists.sourceforge.net/lists/listinfo/nplot-devel > > > > > ------------------------------------------------------------------------- > > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > > Studies have shown that voting for your favorite open source project, > > along with a healthy diet, reduces your potential for chronic lameness > > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > > _______________________________________________ > > Nplot-devel mailing list > > Npl...@li... > > https://lists.sourceforge.net/lists/listinfo/nplot-devel > > > > > > > > > > ------------------------------------------------------------------------- > > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > > Studies have shown that voting for your favorite open source project, > > along with a healthy diet, reduces your potential for chronic lameness > > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > > _______________________________________________ > > Nplot-devel mailing list > > Npl...@li... > > https://lists.sourceforge.net/lists/listinfo/nplot-devel > > > > > ------------------------------ > > ------------------------------------------------------------------------- > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > > ------------------------------ > > _______________________________________________ > Nplot-devel mailing list > Npl...@li... > https://lists.sourceforge.net/lists/listinfo/nplot-devel > > > End of Nplot-devel Digest, Vol 20, Issue 1 > ****************************************** > |