pcp
[Top] [All Lists]

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

To: Olivier Tarnus <o.tarnus@xxxxxxx>
Subject: Re: Anti-aliased and horizontal charts (was Re: kmchart updates)
From: Nathan Scott <nscott@xxxxxxxxxx>
Date: Wed, 24 Oct 2007 12:21:43 +1000
Cc: pcp@xxxxxxxxxxx
In-reply-to: <471E93B4.3000907@xxxxxxx>
Organization: Aconex
References: <1192778270.24082.6.camel@xxxxxxxxxxxxxx> <471A8965.9020405@xxxxxxx> <34244.192.168.3.1.1193009560.squirrel@xxxxxxxxxxxxxxx> <471C673B.5090908@xxxxxxx> <47315.192.168.3.1.1193052894.squirrel@xxxxxxxxxxxxxxx> <471E93B4.3000907@xxxxxxx>
Reply-to: nscott@xxxxxxxxxx
Sender: pcp-bounce@xxxxxxxxxxx
On Wed, 2007-10-24 at 02:37 +0200, Olivier Tarnus wrote:
> Hi Nathan,
> 
> nscott@xxxxxxxxxx wrote:
> >> 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.
> >>     
> >
> > Hmm.  It does seem to me that vertical-inside-of-horizontal is a better way
> > to go than horizontal-inside-of-vertical ... but it will be good to have a
> > look
> > at your prototype and try it out, as its much easier to get a feel for
> > these sort
> > of things when you can interact with the thing.
> >   
> Well actually the design is an array of horizontal qsplitters inside a
> vertical qsplitter. This enable to split rows differently, but becomes
> more tricky regarding the timeline...
> If we have 4 rows with different number of graphs, should I add 4 rows
> of timelines at the bottom? This seems not practical.

Attached image is a mock-up of how I imagine this feature should look.
This could be done with a single horizonal QSplitter and multiple
vertical QSplitter children of that single horizonal splitter.  That
would allow the height and width of all charts to be independently
resized, while still maintaining the (critical) functionality that is
the vertical alignment of multiple charts with a time axis.

The New/Edit Tab dialog would need a "Columns:" label+spinbox, and that
would drive the number of vertical resize handles (number of vertical
QSplitters within the one horizonal QSplitter.

> I will try with grids...

Hmm, they don't give the little handles for the user to resize however
they want, do they?  Not sure.

> Attached, a patch that add a label containing value and time at the
> pointer when a graph is clicked. The label is below the timeline.

Sounds good - will take a look.

cheers.

--
Nathan

Attachment: vertical.png
Description: PNG image

<Prev in Thread] Current Thread [Next in Thread>