Re: [PHP] Re: Interactive canvas example

2008-10-26 Thread Richard Heyes
> Now I wonder why you are creating a new tooltip each time the user > clicks on the graph? Why not? There's no need to cache it and it lessens the complexity if I don't. > Why not do it the following way? Which is? > Secondly CanvasTextFunctions.letters() really is in a class of its own. I d

Re: [PHP] Re: Interactive canvas example

2008-10-26 Thread Richard Heyes
> Very nice. Looks good on Kubuntu FF3. The only issue I see is that no > matter which bar I click on, it says "January 2007 Sales: 80%", which > may just be your example, but I would think each bar should be different. Yes, I've still got to make an easy way to tie in differing tooltips. -- R

Re: [PHP] Re: Interactive canvas example

2008-10-26 Thread Yeti
>JS I suppose. Though it creates a DIV element on demand. The function >in question is RGraph.Tooltip() in RGraph.common.js. OK, I found it. Thank you for showing me. I was thinking of something similar recently. /** * Shows a tooltip next to the mouse pointer * * @param text The tooltip text * @

[PHP] Re: Interactive canvas example

2008-10-26 Thread Shawn McKenzie
Richard Heyes wrote: > Hi, > > Had to show this off - I'm so proud. READ: full of myself... I've > tried it in Firefox 3, Opera 9.6, Chrome and Safari, all on Windows. > > http://dev.rgraph.org/examples/interactive.html > Very nice. Looks good on Kubuntu FF3. The only issue I see is that no ma