|
|
Home » Developing U++ » UppHub » Scatter Control
Scatter Control [message #6350] |
Wed, 08 November 2006 09:29 |
andrei-catalin
Messages: 62 Registered: May 2006 Location: Romania
|
Member |
|
|
Hi!
Below you can see my first attempt to make a simple control for plotting data and functions. Certainly, many improvements are possible and any suggestion is welcome.
To test it unzip Scatter.zip in MyApps folder and open TestScatter package. I tested it in Windows, 610-dev3.
Andrei
[Updated on: Sat, 23 December 2006 19:45] Report message to a moderator
|
|
|
|
|
|
|
|
Scatter v0.2 [message #6527 is a reply to message #6488] |
Thu, 16 November 2006 14:01 |
andrei-catalin
Messages: 62 Registered: May 2006 Location: Romania
|
Member |
|
|
Scatter v0.2 features:
-Unlimited number of data series or functions
-Performance improved using AddPick method
-Better appearance and interface in Layout Designer
-Added support for reporting and printing
-Labels for X-Y axis
-More options
-...
Andrei
[Updated on: Sat, 23 December 2006 19:46] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
|
Re: Scatter v0.3 [message #6874 is a reply to message #6855] |
Sat, 02 December 2006 17:42 |
|
mirek
Messages: 14105 Registered: November 2005
|
Ultimate Member |
|
|
masu wrote on Fri, 01 December 2006 09:29 | BTW, I had to also delete your library defintions for the Scatter package.
The required libraries should already be included by the used packages (CtrlCore etc.).
Matthias
|
Very nice. I feel happy that number of capable U++ programmers seems to grow quickly now
Comments:
Maybe instead of XY, I would use Pointf (in fact, even
typedef Pointf XY;
would work here
Capitalisation of plotFunction and some of other methods seems inconsistent with both rest of class and U++...
Using Win32 API is generally OK, but causes cross-platform problems. I think it should be possible to implement DrawPie and DrawRoundRect using existing primitives (second one is primitive, DrawPie is somewhat harder, but hey, you are drawing cubic splines there, so you can do it
Mirek
|
|
|
|
|
Re: Scatter v0.3 [message #6885 is a reply to message #6877] |
Sun, 03 December 2006 13:34 |
|
mirek
Messages: 14105 Registered: November 2005
|
Ultimate Member |
|
|
Quote: |
Quote: | Capitalisation of plotFunction and some of other methods seems inconsistent with both rest of class and U++...
|
Necessary, but I don't read too well your hint. Could you give me a piece of advice?
|
If there is no special reason, I would use "PlotFunction"
Quote: |
Quote: | Print preview is off, most likely wrongly placed (see the right edge)
|
Only on screen; on paper (or PDF) is OK.
|
Yes, but should be OK even on the screen.
Mirek
[Updated on: Sun, 03 December 2006 13:34] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Fri Nov 01 01:40:13 CET 2024
Total time taken to generate the page: 0.02266 seconds
|
|
|