Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » U++ community news and announcements » New graph packages
Re: New graph packages [message #38903 is a reply to message #38902] Sat, 26 January 2013 20:18 Go to previous messageGo to next message
Didier is currently offline  Didier
Messages: 680
Registered: November 2008
Location: France
Contributor
Here is what the application displays for the previous layout designer config:
edit : image deleted

[Updated on: Mon, 11 November 2013 22:53]

Report message to a moderator

Re: New graph packages [message #38972 is a reply to message #38903] Fri, 01 February 2013 20:36 Go to previous messageGo to next message
Didier is currently offline  Didier
Messages: 680
Registered: November 2008
Location: France
Contributor
Hi all,

I just uploaded some more modifications
  • Stacking priority management (manages the order in which elements are stacked on the sides )
  • Legend drawing corrections (scaling issues)
  • Added legend to StdGraphs + USC
  • Added Title + Legend position management (can be put on any side of the graph)
  • Some refactoring


I also just noticed that some files were missing causing no compile and no '.usc' file Embarassed Embarassed Embarassed

Can somebody try it in the designer to see if I forgot something else ( normally no )
Re: New graph packages [message #39064 is a reply to message #38972] Tue, 12 February 2013 00:08 Go to previous messageGo to next message
Didier is currently offline  Didier
Messages: 680
Registered: November 2008
Location: France
Contributor
Hi all,

I uploaded a lot of corrections and changes including:
  • popup menu for changing of element properties (only base properties for the moment)(legend, labels, title)
  • popup menu for changing series properties
  • series dynamic show/hide through popup menu


A lot of the code is still 'in progress' but things are coming to shape now (although some parts still need a heavy refactoring)

I will upload a new demo soon

[Updated on: Tue, 12 February 2013 00:11]

Report message to a moderator

Re: New graph packages [message #39175 is a reply to message #39064] Fri, 22 February 2013 17:45 Go to previous messageGo to next message
Didier is currently offline  Didier
Messages: 680
Registered: November 2008
Location: France
Contributor
Hi all,

I've uploaded some more corrections and enhancements since last post:
  • Refactoring
  • Bug corrections
  • Added Label hide management in .usc
  • WIN compile issue
  • Mouse ctrl corrections for elements that are hidden
  • Added LabelPropertiesEditorDlg



Has anybody tried this Ctrl ??

[Updated on: Fri, 22 February 2013 17:49]

Report message to a moderator

Re: New graph packages [message #39826 is a reply to message #39175] Sat, 04 May 2013 15:18 Go to previous messageGo to next message
Didier is currently offline  Didier
Messages: 680
Registered: November 2008
Location: France
Contributor
Hi all,

I've uploaded to svn sandbox some more corrections:
* compiles with lattest ScatterDraw modifications from Koldo
* other enhancements and corrections
* legend has exact same aspect as serie in the graph
* ...

EDIT: image deleted


[Updated on: Sun, 17 November 2013 00:48]

Report message to a moderator

Re: New graph packages [message #39971 is a reply to message #39826] Mon, 20 May 2013 21:56 Go to previous messageGo to next message
281264 is currently offline  281264
Messages: 270
Registered: June 2010
Location: Spain
Experienced Member
Didier,

I have tested this Ctrl and it works fine; I'd suggest documenting it better.

Thanks,

Javier
Re: New graph packages [message #39974 is a reply to message #39971] Tue, 21 May 2013 19:50 Go to previous messageGo to next message
Didier is currently offline  Didier
Messages: 680
Registered: November 2008
Location: France
Contributor
Hi,

Thank you for trying it.

I will try documenting it now that the interface is a bit more stable
Re: New graph packages [message #39976 is a reply to message #39974] Wed, 22 May 2013 03:49 Go to previous messageGo to next message
jerson is currently offline  jerson
Messages: 202
Registered: June 2010
Location: Bombay, India
Experienced Member

I am not sure if this has already been covered in the widget. However, couple of things which I have used in the past have been a LOG-LOG scale and NYQUIST(also known as Polar) plot.

The nyquist plot would make the graph pretty complete in all respects and adding it is just a variation of pie. I could try, but, as you would realize, I am not upto speed with this right now. This would make it useful to many engineers.

This is what I mean by nyquist plot

Picked the reference from this link

[Updated on: Wed, 22 May 2013 03:51]

Report message to a moderator

Re: New graph packages [message #39989 is a reply to message #39976] Wed, 22 May 2013 22:02 Go to previous messageGo to next message
Didier is currently offline  Didier
Messages: 680
Registered: November 2008
Location: France
Contributor
Hi Jerson,

well if you want to have LOG/LOG : no problem, you can even configure it through LayoutDesigner.
You can even have LOG scaling while having normal style graduation, all is configurable ... and extensible

index.php?t=getfile&id=4201&private=0

For the Nyquist graph, I don't have polar styled graph since I haven't needed it for now.

If I have time I may try ( but I don't garanty it )

[Updated on: Wed, 22 May 2013 22:03]

Report message to a moderator

Re: New graph packages [message #39990 is a reply to message #39989] Thu, 23 May 2013 02:40 Go to previous messageGo to next message
jerson is currently offline  jerson
Messages: 202
Registered: June 2010
Location: Bombay, India
Experienced Member

Hello Didier

Thank you for considering the option. I am not in need for it right now. I used it in the past to do some scientific natured software and thought it will make the package complete. Nyquist seems to be the only thing missing. Overall, it's an excellent piece of work which I am learning from.

Regards
Jerson
Re: New graph packages [message #40966 is a reply to message #38902] Mon, 14 October 2013 23:40 Go to previous messageGo to next message
Didier is currently offline  Didier
Messages: 680
Registered: November 2008
Location: France
Contributor
Hi all,

I've updated GraphCtrl/GraphDraw packages in svn sandbox.
The following enhancements/corrections were done:

  • correction : Mouse move management now uses LocalLoop to catch mouse when scrolling and remove a nasty bug when moving mouse from one graph to another
  • Some cleaning up of code
  • Added some documentation ( work in progress )
  • Added FitToData() method (for each axis, and for all graph)
  • Added UNDO/REDO capacities
  • Added UNDO/REDO automatic merging ==> when actions are done very quickly(<500ms) (like wheel scroll or zoom), they are merged into ONE undo / redo action


Undo/redo works for all the move/scroll actions.
Properties undo/redo is next to come


[Updated on: Mon, 14 October 2013 23:41]

Report message to a moderator

Re: New graph packages [message #41120 is a reply to message #40966] Fri, 01 November 2013 13:04 Go to previous messageGo to next message
Didier is currently offline  Didier
Messages: 680
Registered: November 2008
Location: France
Contributor
Hi all,

Here comes the last updates concerning the GraphDraw/GraphCtrl. The following modifications have been made :

  • Code cleaning / refactoring / reorganisation
  • Undo/redo additions
  • Undo/Redo refactoring to ease it's use in GraphElements
  • Added MarkerElement/DynamicMarkerCtrl
  • refactored TickMark class (needed for MarkerElement)
  • Series Properties Dialog refactored


The main addition is the management of DynamicMarkers : it allows to manage markers that can be freely moved on the side of the graph (to measure distances ... or anything else). It is still work in progress (how to pass parameters to TickMark classes ) but a working example is show in GraphCtrl_test Package

The look and feel of the markers used is completely configurable and depends only on the TickMark class used

index.php?t=getfile&id=4337&private=0

[Updated on: Fri, 01 November 2013 13:05]

Report message to a moderator

Re: New graph packages [message #41201 is a reply to message #41120] Mon, 11 November 2013 23:00 Go to previous messageGo to next message
Didier is currently offline  Didier
Messages: 680
Registered: November 2008
Location: France
Contributor
Hi all,

I just uploaded some more updates to GraphDraw/GraphCtrl.
The modifications brought are the following:

  • DynamicMarker refactoring
  • Added some skinning possibilities to the Graph and to the TickMarks used for DynamicMarkers
  • some code cleaning
  • some documentation


The next modifications to come :
Their is an issue when moving a marker with the mouse ==> all the graphs get's drawn ... so if the grap has big data, moving the marker is not smooth : I will try to correct this point.

index.php?t=getfile&id=4346&private=0

[Updated on: Mon, 11 November 2013 23:10]

Report message to a moderator

Re: New graph packages [message #41231 is a reply to message #41201] Sun, 17 November 2013 00:47 Go to previous messageGo to next message
Didier is currently offline  Didier
Messages: 680
Registered: November 2008
Location: France
Contributor
Hi all,

I just uploaded some updates :

  • DynamicMarker::CursorImage() correction
  • Code cleaning / refactoring
  • DOCUMENTATION (big effort)
  • Added WhenMove callbacks to DynamicMarker and added example usage in GraphCtrl_test


The documentation is now starting to be consistant but there is still much to do.
If someone reads the doc and has remarks (phrase not clear enough for example), I'll be glad to take into account the remarks

[Updated on: Sun, 17 November 2013 00:47]

Report message to a moderator

Re: New graph packages [message #41483 is a reply to message #41231] Sat, 21 December 2013 23:21 Go to previous messageGo to next message
Didier is currently offline  Didier
Messages: 680
Registered: November 2008
Location: France
Contributor
Hi all,

I just updated my GraphCtrl/GraphDraw packages.
The modifications are the following:
  • Code cleaning and refactoring
  • Some bug corrections (only one or two corrections)
  • DRAWING SPEED enhancement when used as a Ctrl
  • BackGround style managment has been homogenized through the different classes ( SetBackGndStyle() method )
  • Graph Background can now be transparent


The main enhancement is the update DRAWING SPEED when used as a Ctrl : now moving a Marker on the graph is very fluid (and so will the other GraphElements). It is so fast that it stays usable when the grap is in full screen ( which wasn't the case before ).

The known problems/bugs remaining are the following:


Re: New graph packages [message #41507 is a reply to message #41483] Mon, 23 December 2013 23:33 Go to previous messageGo to next message
Didier is currently offline  Didier
Messages: 680
Registered: November 2008
Location: France
Contributor
SUBPIXEL issue is now corrected thanks to mirek.
Re: New graph packages [message #41614 is a reply to message #41507] Sun, 05 January 2014 23:48 Go to previous messageGo to next message
Didier is currently offline  Didier
Messages: 680
Registered: November 2008
Location: France
Contributor
Hi all,


I just delivered to svn sandbox an update of GraphDraw/GraphCtrl.
The modifications are listed below:

* GraphElementCtrl_FloatMoveResize : improved re-size with full border/corner selection and adapted MouseCursor when resizing
* Added LocalLoopSelect & Select style in GraphCtrl
......* In fact this draws nice blue transparent rectangles instead of the animated rectangle obtained using RectTracker
......* Select Rect style is completelly configurable ( Blue is default )
* StdGridAxisDrawCtrl:
* Added AXIS SELECT-ZOOM
......* Added LocalLoopSelect
......* Added configurable select style
* Added global KEY management ==> replace K_CTRL, ... by predefined constants K_ZOOM, K_SCROLL, ...
only a starting point, may do more if needed
* BUG : Corrected BUGs when LEFTMOUSE pressed outside GRAPH and moves into graph area
* Undo stack :
......* Added isModified Verification before adding UndoAction to UNDO STACK
......* Added UNDOSTACK limitation (100 undo actions max by default )
* Layout() requests :
......* Painting done in 'fastPaint' mode when requested by Layout() ==> Application resizing
......* Added FULL repaint 300 ms after last Layout() request
......==> this gives fluid application re-size (no app freeze when re-sizing)
* Add AllowZoom, AllowScroll for X/Y management
* Added additional methods in GraphCtrl.usc
......* UseLocalSelectLoop
......* DisableGraphZoom
......* DisableGraphScroll
......* DisableXZoom
......* DisableYZoom
......* DisableXScroll
......* DisableYScroll
......* DisableAxisScroll
......* DisableAxisZoom

The major improvements are:
* Stylable selection rectangle
* no app freeze when re-sizing application (in case of big data)
* Zoom/Scroll authorizations completely configurable through layout designer

[Updated on: Sun, 05 January 2014 23:50]

Report message to a moderator

Re: New graph packages [message #41688 is a reply to message #41614] Fri, 10 January 2014 21:09 Go to previous messageGo to next message
ManfredHerr is currently offline  ManfredHerr
Messages: 67
Registered: February 2013
Location: Germany
Member
Hi Didier,

why can't I see your GraphDraw/Ctrl package neither in bazaar of upp-nightly nor in upp-mirror-read-only?

Just a hint...

Manfred
Re: New graph packages [message #41689 is a reply to message #41688] Fri, 10 January 2014 21:58 Go to previous messageGo to next message
Didier is currently offline  Didier
Messages: 680
Registered: November 2008
Location: France
Contributor
Hi ManfredHerr,

These packages are only available in svn sandbox for the moment, but I hope to be able to upload them to bazaar this WE

The svn sandbox can be found here:
svn://www.ultimatepp.org/upp/sandbox
Re: New graph packages [message #41699 is a reply to message #41689] Sat, 11 January 2014 14:59 Go to previous messageGo to previous message
ManfredHerr is currently offline  ManfredHerr
Messages: 67
Registered: February 2013
Location: Germany
Member
Very Happy I got it! Thank you very much for the prompt response!
Merci beaucoup!

Edit:
I tried to have fun with it a little bit and detected an issue:
If you drag in the "Big Data" Area and move the hand outside the window before you release the mouse button then no update of the graph takes place unless you enter the window again. Is this intended?

[Updated on: Sat, 11 January 2014 17:44]

Report message to a moderator

Previous Topic: New pick/clone notation now merged into trunk
Next Topic: Testing of migrated and upgraded forum
Goto Forum:
  


Current Time: Thu Mar 28 22:47:20 CET 2024

Total time taken to generate the page: 0.01038 seconds