pcp
[Top] [All Lists]

Re: Anti-aliased and horizontal charts (was Re: kmchart updates)

To: nscott@xxxxxxxxxx
Subject: Re: Anti-aliased and horizontal charts (was Re: kmchart updates)
From: Olivier Tarnus <o.tarnus@xxxxxxx>
Date: Mon, 22 Oct 2007 11:02:51 +0200
Cc: pcp@xxxxxxxxxxx
In-reply-to: <34244.192.168.3.1.1193009560.squirrel@mail.aconex.com>
References: <1192778270.24082.6.camel@edge.yarra.acx> <471A8965.9020405@free.fr> <34244.192.168.3.1.1193009560.squirrel@mail.aconex.com>
Sender: pcp-bounce@xxxxxxxxxxx
User-agent: Thunderbird 2.0.0.6 (X11/20070728)
Hi Nathan,

Discovered yesterday that there is bug related to saving the anti aliasing option in the file, as it should be saved before the legend option or resulting file will not load. It would be great if the file loader was not so strict about the order of options, I'll try to fix that.

Regarding the horizontal splitting, you're close to it ;-) I've a working prototype that load a row option for each chart and load it to a corresponding  horizontal QSplitter that is child of the vertical splitter. This let user split each row by an arbitrary number. Chart addition/deletion is now working great. The row is actually a number, but I'll try to make it text to simplify usage and loading of multiple views.

I've not worked on the time axis for the moment. I was thinking about adding a grid to the graph, because adding new timelines would take much space and becomes tricky if each row can have an arbitrary number of charts. I'll try to add a grid to each graph in a row with multiple elements, and link that grid with the timeline.

Bye

Olivier


nscott@xxxxxxxxxx wrote:
Hi Olivier,

(renamed subject line to match discussion thread a bit)

  
Hi Nathan,

Here is a little patch that add an anti aliasing option per graph. The
option is also saved in the view.

See attached patch and saved view...
    

Great - thanks; looks good after an initial glance - will review properly
and merge
later today.

  
I'm actually working on the layout of tabs, first by adding a column
option that would let the user split the tab also vertically.
    

Ah, interesting, I know one or two other people who have wanted that also.
 Its a
bit of a challenge in figuring out how to do the unified time axis (and
time control
button) - some challenging screen layout issues there.  If those items
became child
widgets of the tab, it might actually simplify some of the existing code
and would
make your changes easier to implement I think.

Also, take a look at the Qwt SVN tree - there is an (experimental) example
in there
of how to implement a grid with aligned chart axes, which might be useful
to you.
We still need to do proper alignment of the charts vertically - iow, the
minimum,
maximum, and each tick value on the X-Axis should be aligned for each
chart that
is stacked vertically (this is currently a bug in kmchart, & its on my
TODO list to fix
before the 1.0 release).

How are you planning on implementing your horizonal charts option?  Would
there
be a horizontal QSplitter, with the existing vertical QSplitter's as
children?  And had
you planned on doing one time axis for each column?  Sounds an interesting
feature
anyway, I'm keen to see how it works out!

cheers.

--
Nathan


  


--
Olivier Tarnus
IT/EDP Assistant Manager

Modern Processing SA
Parc d’Activités - CAP 2
38 rue Pafebruch
L-8308 Capellen

Telephone: + 352 27 754 404
Telefax: +352 27 754 500
GSM: +352 691 754 404
<Prev in Thread] Current Thread [Next in Thread>