You can subscribe to this list here.
2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(9) |
Nov
(24) |
Dec
(19) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2007 |
Jan
(22) |
Feb
(5) |
Mar
(10) |
Apr
(12) |
May
(6) |
Jun
(3) |
Jul
(6) |
Aug
(7) |
Sep
(1) |
Oct
(3) |
Nov
(4) |
Dec
(1) |
2008 |
Jan
|
Feb
(4) |
Mar
(6) |
Apr
(10) |
May
(2) |
Jun
(4) |
Jul
(15) |
Aug
(11) |
Sep
(3) |
Oct
|
Nov
(9) |
Dec
(11) |
2009 |
Jan
(6) |
Feb
(9) |
Mar
(24) |
Apr
(4) |
May
(7) |
Jun
(1) |
Jul
|
Aug
|
Sep
(3) |
Oct
(1) |
Nov
(1) |
Dec
(10) |
2010 |
Jan
(1) |
Feb
|
Mar
(2) |
Apr
|
May
|
Jun
(8) |
Jul
|
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
|
2011 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
(2) |
Oct
|
Nov
|
Dec
|
2012 |
Jan
|
Feb
|
Mar
(6) |
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
(1) |
2013 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(3) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: FXHat - <fxh...@gm...> - 2008-12-12 10:35:57
|
You have to apply everything to both plotsurfaces for these to behave identical. So the LabelOffsetAbsolute should also be set to true for the second plotsurface. You could also try setting the Padding property. In my project, I applied the code below to both plotsurfaces, the left Y axes now align perfectly (make sure your plotsurfaces are aligned correctly on the form as well). <instance>.YAxis1.LabelOffsetAbsolute = true; <instance>.YAxis1.LabelOffset = 40; <instance>.Padding = 5; |
From: dynamix . <dy...@li...> - 2008-12-12 09:34:34
|
Thanks (PlotSurface2D3.YAxis2.LabelOffsetAbsolute = True PlotSurface2D3.YAxis2.LabelOffset = PlotSurface2D1.YAxis2.LabelOffset) fixed it mostly but im still having issues - i am using PlotSurface2D3.YAxis2.NumberFormat = ("{0,12}") to get the field to the correct length for large numbers to show - but when i apply an indicator with say values from 1-10 on a chart with values from 9000000 - 10000000 it is still off but by a lot less than before - any ideas ? = -- Powered by Outblaze |
From: FXHat - <fxh...@gm...> - 2008-12-11 17:02:24
|
I can confirm the problem as posted by Rob Smyth. Although at my PC (Windows Vista), the CPU only gets to 50% (P4 / 2.8 Gigaherz). For me this bug causes other unexpected side affects. Including: * The tooltip / coordinates balloon that shows when hovering over the chart keeps flickering (updating I guess). * When the PlotSurface2D is placed on a tab control and the tab control is cycled using Ctrl + Tab, the PlotSurface2D fails to paint when arriving back at the original tab page until the mouse cursor is moved away from the PlotSurface2D. <<<>>> "Firstly getting 2 tables left and right vertical margins to line up (there are 2 graphs, 1 above the other)" You could try the following: <instance>.YAxis1.LabelOffsetAbsolute = true; <instance>.YAxis1.LabelOffset = x; This will align the y axes of both plotsurfaces (when placed exactly below each other). |
From: dynamix . <dy...@li...> - 2008-12-11 10:45:46
|
Hi, im having some issues with nplot and this seemed like the best place/way to ask. Firstly getting 2 tables left and right vertical margins to line up (there are 2 graphs, 1 above the other) Secondly i want to place a marker on the graph - based on the latest buy or sell signal of a financial indicator. Any tips would be greatly appreciated = Wild West Vacations and Travel Offers vacation packages in Wyoming, Montana, South Dakota, Colorado. http://a8-asy.a8ww.net/a8-ads/adftrclick?redirectid=a667a35dfebfeea277740bad1b8df515 -- Powered by Outblaze |
From: SourceForge.net <no...@so...> - 2008-12-03 07:08:05
|
Bugs item #2381518, was opened at 2008-12-03 18:08 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=2381518&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: 0.9.10.0 Status: Open Resolution: None Priority: 5 Private: No Submitted By: Rob Smyth (robsmyth) Assigned to: Nobody/Anonymous (nobody) Summary: Mouse over high CPU loading on Vista Initial Comment: When the mouse is moved over an NPlot chat on a Vista box the CPU loading becomes 100%. Remains at 100% even if the mouse is not moved. Problem is caused by Vista generating a new mouse move event when a tooltip is displayed. Problem goes away if code is added to the OnMouseMove override method to detect if the mouse has moved since the last call. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=821568&aid=2381518&group_id=161868 |
From: Dave C. <dav...@gm...> - 2008-11-25 16:23:35
|
nPlot Team, I've been using nPlot for about a year now, thank you very much. I'm most satisfied. I've extended it here and there, a double click zoom and such, and find it quite useful. I was wondering now if there were any performance enhancements I could perform to speed up the graph interaction. I typically plot 1000 or more data points with multiple line plots and perhaps an x axis linked brother chart and experience some obvious lag in chart manipulation. Do you guys use any tricks you might share in souping up plot surface performance? I'm thinking double buffering or directx support or some such; anything really to smooth out chart panning, scrolling, zooming and the like. Thanks for any reply, Dave Cline |
From: Jamie M. <ja...@sc...> - 2008-11-19 20:33:32
|
> > Initial Comment: > When you zoom in so that the graph does not contain any points, > nothing is drawn. However if you zoom in to one point the lines are > drawn to the points outside the GDI's clipping region. In the > LinePlot.cs file I found the following code: > > // do horizontal clipping here, to speed up > if ((dx1 < leftCutoff || rightCutoff < dx1) && > (dx2 < leftCutoff || rightCutoff < dx2)) > { > continue; > } > > This code does not draw any lines if one point is on the left and > the other is on the right. In this case you would want the line to > be drawn. Here is an update to that clipping code that takes into > account that scenario: > > if (dx1 < leftCutoff && dx2 < leftCutoff) > { > // Both points are to the left of the clipping region. > continue; > } > else if (dx1 > rightCutoff && dx2 > rightCutoff) > { > // Both points are to the right of the clipping region. > continue; > } > > If you have further questions, please feel free to contact me. > > Bob Cravens (bob...@gm...) > Hi Bob, Thanks for your post. One quick question... Did you check the code that is currently in trunk? This problem sounds quite familiar to me and I think I've already made a fix in the trunk version. Time to get a new version out so we don't duplicate work. Cheers, Jamie ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Jamie McQuay Scimatic Software Inc. +1.416.529.9069 www.scimatic.com We build software for scientists. |
From: SourceForge.net <no...@so...> - 2008-11-19 19:54:33
|
Bugs item #2315633, was opened at 2008-11-19 19:54 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=2315633&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: None Group: 0.9.10.0 Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: Improved Clipping Alogorithm Initial Comment: When you zoom in so that the graph does not contain any points, nothing is drawn. However if you zoom in to one point the lines are drawn to the points outside the GDI's clipping region. In the LinePlot.cs file I found the following code: // do horizontal clipping here, to speed up if ((dx1 < leftCutoff || rightCutoff < dx1) && (dx2 < leftCutoff || rightCutoff < dx2)) { continue; } This code does not draw any lines if one point is on the left and the other is on the right. In this case you would want the line to be drawn. Here is an update to that clipping code that takes into account that scenario: if (dx1 < leftCutoff && dx2 < leftCutoff) { // Both points are to the left of the clipping region. continue; } else if (dx1 > rightCutoff && dx2 > rightCutoff) { // Both points are to the right of the clipping region. continue; } If you have further questions, please feel free to contact me. Bob Cravens (bob...@gm...) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=821568&aid=2315633&group_id=161868 |
From: SourceForge.net <no...@so...> - 2008-11-19 19:26:05
|
Bugs item #2315572, was opened at 2008-11-19 19:25 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=2315572&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: None Group: 0.9.10.0 Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: GDI Exception thrown DrawLine Initial Comment: I ran into a situation where the bounds for the input parameters that describe the x & y values for the points was being exceeded. In my particular case it was happening in the LinePlot.cs file. I modified my file to clip the points to the bounds. My changes work for me, but this issue may be in other GDI calls. I have attached my modified LinePlot.cs file for you to difference against and see my changes. This issue was found in 0.9.10.0. If you need further information, feel free to contact me. Bob Cravens (bob...@gm...) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=821568&aid=2315572&group_id=161868 |
From: SourceForge.net <no...@so...> - 2008-11-05 19:38:34
|
Bugs item #2221686, was opened at 2008-11-04 18:31 Message generated for change (Settings changed) made by anmar You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=821568&aid=2221686&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: None Group: None >Status: Closed >Resolution: Invalid Priority: 5 Private: No Submitted By: Omid (omid_sh) Assigned to: Nobody/Anonymous (nobody) Summary: NPlot Pen Error Initial Comment: Dear All, I tried to customize my NPlot step chart in ASP.Net 2.0 to more thick line but changing the Pen.Width property gives an error message: Changes cannot be made to Pen because permissions are not valid. The VS.Net designer gives no warning or error message during complication! Please advise if this is a bug or there is any work-around for that. Best regards, Omid ---------------------------------------------------------------------- Comment By: Angel Marin (anmar) Date: 2008-11-05 20:37 Message: You're trying to change a property of a readonly Pen instance. The System.Drawing.Pens.* instances are all readonly instances so you can only use them as is. Just do: npPlot2.Pen = new Pen(Color.DarkBlue, 5); ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2008-11-05 15:07 Message: Dear Angel, Thanks for following this issue. Below is the full exception + stack trace for the error. Best regards, Omid Server Error in '/***' Application. -------------------------------------------------------------------------------- Changes cannot be made to Pen because permissions are not valid. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.ArgumentException: Changes cannot be made to Pen because permissions are not valid. Source Error: Line 133: npPlot2.Center = False Line 134: npPlot2.Pen = Pens.DarkBlue Line 135: npPlot2.Pen.Width = 5 Line 136: End Select Line 137: End With Source File: c:\inetpub\wwwroot\***\***.ashx Line: 135 Stack Trace: [ArgumentException: Changes cannot be made to Pen because permissions are not valid.] System.Drawing.Pen.set_Width(Single value) +298052 ChartGenerator.ProcessRequest(HttpContext context) in c:\inetpub\wwwroot\***\***.ashx:135 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +358 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64 -------------------------------------------------------------------------------- Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433 ---------------------------------------------------------------------- Comment By: Angel Marin (anmar) Date: 2008-11-04 20:07 Message: Can you post the full exception + stack trace for the error? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=821568&aid=2221686&group_id=161868 |
From: SourceForge.net <no...@so...> - 2008-11-05 19:37:30
|
Bugs item #2221686, was opened at 2008-11-04 18:31 Message generated for change (Comment added) made by anmar You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=821568&aid=2221686&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: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Omid (omid_sh) Assigned to: Nobody/Anonymous (nobody) Summary: NPlot Pen Error Initial Comment: Dear All, I tried to customize my NPlot step chart in ASP.Net 2.0 to more thick line but changing the Pen.Width property gives an error message: Changes cannot be made to Pen because permissions are not valid. The VS.Net designer gives no warning or error message during complication! Please advise if this is a bug or there is any work-around for that. Best regards, Omid ---------------------------------------------------------------------- Comment By: Angel Marin (anmar) Date: 2008-11-05 20:37 Message: You're trying to change a property of a readonly Pen instance. The System.Drawing.Pens.* instances are all readonly instances so you can only use them as is. Just do: npPlot2.Pen = new Pen(Color.DarkBlue, 5); ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2008-11-05 15:07 Message: Dear Angel, Thanks for following this issue. Below is the full exception + stack trace for the error. Best regards, Omid Server Error in '/***' Application. -------------------------------------------------------------------------------- Changes cannot be made to Pen because permissions are not valid. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.ArgumentException: Changes cannot be made to Pen because permissions are not valid. Source Error: Line 133: npPlot2.Center = False Line 134: npPlot2.Pen = Pens.DarkBlue Line 135: npPlot2.Pen.Width = 5 Line 136: End Select Line 137: End With Source File: c:\inetpub\wwwroot\***\***.ashx Line: 135 Stack Trace: [ArgumentException: Changes cannot be made to Pen because permissions are not valid.] System.Drawing.Pen.set_Width(Single value) +298052 ChartGenerator.ProcessRequest(HttpContext context) in c:\inetpub\wwwroot\***\***.ashx:135 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +358 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64 -------------------------------------------------------------------------------- Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433 ---------------------------------------------------------------------- Comment By: Angel Marin (anmar) Date: 2008-11-04 20:07 Message: Can you post the full exception + stack trace for the error? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=821568&aid=2221686&group_id=161868 |
From: SourceForge.net <no...@so...> - 2008-11-05 14:07:13
|
Bugs item #2221686, was opened at 2008-11-04 17:31 Message generated for change (Comment added) made by nobody You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=821568&aid=2221686&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: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Omid (omid_sh) Assigned to: Nobody/Anonymous (nobody) Summary: NPlot Pen Error Initial Comment: Dear All, I tried to customize my NPlot step chart in ASP.Net 2.0 to more thick line but changing the Pen.Width property gives an error message: Changes cannot be made to Pen because permissions are not valid. The VS.Net designer gives no warning or error message during complication! Please advise if this is a bug or there is any work-around for that. Best regards, Omid ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2008-11-05 14:07 Message: Dear Angel, Thanks for following this issue. Below is the full exception + stack trace for the error. Best regards, Omid Server Error in '/***' Application. -------------------------------------------------------------------------------- Changes cannot be made to Pen because permissions are not valid. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.ArgumentException: Changes cannot be made to Pen because permissions are not valid. Source Error: Line 133: npPlot2.Center = False Line 134: npPlot2.Pen = Pens.DarkBlue Line 135: npPlot2.Pen.Width = 5 Line 136: End Select Line 137: End With Source File: c:\inetpub\wwwroot\***\***.ashx Line: 135 Stack Trace: [ArgumentException: Changes cannot be made to Pen because permissions are not valid.] System.Drawing.Pen.set_Width(Single value) +298052 ChartGenerator.ProcessRequest(HttpContext context) in c:\inetpub\wwwroot\***\***.ashx:135 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +358 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64 -------------------------------------------------------------------------------- Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433 ---------------------------------------------------------------------- Comment By: Angel Marin (anmar) Date: 2008-11-04 19:07 Message: Can you post the full exception + stack trace for the error? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=821568&aid=2221686&group_id=161868 |
From: SourceForge.net <no...@so...> - 2008-11-04 19:07:07
|
Bugs item #2221686, was opened at 2008-11-04 18:31 Message generated for change (Comment added) made by anmar You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=821568&aid=2221686&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: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Omid (omid_sh) Assigned to: Nobody/Anonymous (nobody) Summary: NPlot Pen Error Initial Comment: Dear All, I tried to customize my NPlot step chart in ASP.Net 2.0 to more thick line but changing the Pen.Width property gives an error message: Changes cannot be made to Pen because permissions are not valid. The VS.Net designer gives no warning or error message during complication! Please advise if this is a bug or there is any work-around for that. Best regards, Omid ---------------------------------------------------------------------- >Comment By: Angel Marin (anmar) Date: 2008-11-04 20:07 Message: Can you post the full exception + stack trace for the error? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=821568&aid=2221686&group_id=161868 |
From: SourceForge.net <no...@so...> - 2008-11-04 17:31:10
|
Bugs item #2221686, was opened at 2008-11-04 17:31 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=2221686&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: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Omid (omid_sh) Assigned to: Nobody/Anonymous (nobody) Summary: NPlot Pen Error Initial Comment: Dear All, I tried to customize my NPlot step chart in ASP.Net 2.0 to more thick line but changing the Pen.Width property gives an error message: Changes cannot be made to Pen because permissions are not valid. The VS.Net designer gives no warning or error message during complication! Please advise if this is a bug or there is any work-around for that. Best regards, Omid ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=821568&aid=2221686&group_id=161868 |
From: Davide M. <in...@da...> - 2008-09-26 09:21:58
|
Good news, I love NPlot! Ciao, Davide. -----Messaggio originale----- Da: Jamie McQuay [mailto:ja...@sc...] Inviato: giovedì 25 settembre 2008 18.59 A: npl...@li... Oggetto: Re: [Nplot-devel] NPlot development On 24-Sep-08, at 7:43 AM, FXHat - wrote: > Just a quick question, is NPlot still being developed? I noticed the > last release is from almost two years ago. > > Regards, Jan Hello Jan, Yes, NPlot is still being developed. We need to get a new build out soon. Running a startup has taken away a lot of my time lately. Cheers, Jamie ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Jamie McQuay Scimatic Software Inc. www.scimatic.com We build software for scientists. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nplot-devel mailing list Npl...@li... https://lists.sourceforge.net/lists/listinfo/nplot-devel |
From: Jamie M. <ja...@sc...> - 2008-09-25 17:35:12
|
On 24-Sep-08, at 7:43 AM, FXHat - wrote: > Just a quick question, is NPlot still being developed? I noticed the > last release is from almost two years ago. > > Regards, Jan Hello Jan, Yes, NPlot is still being developed. We need to get a new build out soon. Running a startup has taken away a lot of my time lately. Cheers, Jamie ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Jamie McQuay Scimatic Software Inc. www.scimatic.com We build software for scientists. |
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 > ****************************************** > |
From: Dave C. <dav...@gm...> - 2008-08-23 23:09:32
|
I'm trying to fill up a plotsurface with the data found within. What end up happening is that this AddIndicator method - does do it's job - but the data lines are squished down tiny. I know they're there as I can use a Y axis interaction to increase their height. But how to instantly fill the plotsurface with the data? indicatorPlot.YAxis1.AutoScaleTicks = true; does not autoscale the lines. clues? protected NPlot.Windows.PlotSurface2D AddIndicator(DataTable dt, string name, string controlKey, string absiscca, string[] lineNames) { Control[] ctrls = this.Controls.Find("ExtraIndicators", true); NPlot.Windows.PlotSurface2D indicatorPlot = null; bool foundIt = false; if (ctrls.Length > 0) { foreach (Control ctrl in ctrls) { if ((string)ctrl.Tag == controlKey) { indicatorPlot = (NPlot.Windows.PlotSurface2D)ctrl; indicatorPlot.Clear(); foundIt = true; break; } } } if (!foundIt) { indicatorPlot = new NPlot.Windows.PlotSurface2D(); indicatorPlot.Name = "ExtraIndicators"; indicatorPlot.Tag = controlKey; } indicatorPlot.AddInteraction(new NPlot.Windows.PlotSurface2D.Interactions.HorizontalDrag()); indicatorPlot.AddInteraction(new NPlot.Windows.PlotSurface2D.Interactions.AxisDrag(true)); indicatorPlot.InteractionOccured += new NPlot.Windows.PlotSurface2D.InteractionHandler(extraIndicator_InteractionOccured); pricePS.InteractionOccured += new NPlot.Windows.PlotSurface2D.InteractionHandler(extraIndicator_InteractionOccured); //indicatorPlot.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) //| System.Windows.Forms.AnchorStyles.Left) //| System.Windows.Forms.AnchorStyles.Right))); indicatorPlot.Dock = DockStyle.Fill; indicatorPlot.BackColor = Color.Cornsilk; indicatorPlot.PlotBackColor = Color.Ivory; indicatorPlot.DateTimeToolTip = false; indicatorPlot.Width = pricePS.Width; indicatorPlot.Left = pricePS.Left; this.splitContainer2.Panel2.Controls.Add(indicatorPlot); foreach (string lineName in lineNames) DrawIndicatorLine(dt, indicatorPlot, name, absiscca, lineName, Color.BlueViolet); indicatorPlot.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.AntiAlias; indicatorPlot.Add(new Grid()); indicatorPlot.YAxis1.Label = name; indicatorPlot.YAxis1.LabelOffsetAbsolute = true; indicatorPlot.YAxis1.LabelOffset = 45; indicatorPlot.YAxis1.AutoScaleTicks = true; indicatorPlot.Padding = new System.Windows.Forms.Padding(5); ; indicatorPlot.Invalidate(); return indicatorPlot; } -- ___________________ Dav...@gm... Lake Oswego, OR 801-473-9213 ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ |
From: Dave C. <dav...@gm...> - 2008-08-23 03:40:42
|
How can I capture where the right click occurred in world coords? public class CustomContextMenu : NPlot.Windows.PlotSurface2D.PlotContextMenu { public CustomContextMenu() : base() { ArrayList menuItems = this.MenuItems; PlotShowCoordinatesMenuItem miHi = new PlotShowCoordinatesMenuItem("HI Im Bingo", 1, HandleBingo); menuItems.Insert(1, miHi); this.SetMenuItems(menuItems); } public void HandleBingo(Object sender, EventArgs e) { MessageBox.Show("HI BINGO!"); /////////// this.PlotSurface2D. ???? to show where this occurred????? /////////// this.plotSurface2D_.Refresh(); } } -- ___________________ Dav...@gm... Lake Oswego, OR 801-473-9213 ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ |
From: Dave C. <dav...@gm...> - 2008-08-23 03:05:19
|
Let's try this again. Is there a trick to getting MouseWheelZoom to work? I've tried: pricePS.AddInteraction(new NPlot.Windows.PlotSurface2D.Interactions.MouseWheelZoom()); but nothing happens. clues? -- ___________________ Dav...@gm... Lake Oswego, OR 801-473-9213 ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ |
From: Dave C. <dav...@gm...> - 2008-08-23 03:03:57
|
Is there a trick to getting the MouseWheelZoom working? I've tried just: -- ___________________ Dav...@gm... Lake Oswego, OR 801-473-9213 ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ |
From: R. F. <roa...@gm...> - 2008-08-14 04:14:03
|
I have something similar on my todo-list as well but haven't looked at it yet. As a starting point I would look at the RubberBandSelection class. Roar On Wed, Aug 13, 2008 at 1:38 PM, Dave Cline <dav...@gm...> wrote: > Nplot crowd, > > I'd like to manually draw lines on a plotsurface. Said lines should be > pinned to start/end coords so that a resize will resize the line(s) too. > Purpose is trend and support/resistance lines for stock market charts. > > Does anyone have code, clues or kludges they could share? > > Thanks, > Dave Cline > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nplot-devel mailing list > Npl...@li... > https://lists.sourceforge.net/lists/listinfo/nplot-devel > |
From: Dave C. <dav...@gm...> - 2008-08-13 20:37:54
|
Nplot crowd, I'd like to manually draw lines on a plotsurface. Said lines should be pinned to start/end coords so that a resize will resize the line(s) too. Purpose is trend and support/resistance lines for stock market charts. Does anyone have code, clues or kludges they could share? Thanks, Dave Cline |
From: R. F. <roa...@gm...> - 2008-08-11 19:30:27
|
I have a bunch of plots, all using DateTime on the X axis and a float on the Y axis. I'd like to put a vertical line at DateTime.Today (or any other date for that matter). How do I convert this to a double to pass in to the NPlot.VerticalLine() constructor? I've tried to convert DateTime to long and then to double but that doesn't work. |
From: Abdelrahman <ah...@gm...> - 2008-08-10 13:20:07
|
Hi guys, I was wondering, can I do bubble charts with nplot? regards, abdelrahman |