Re: [PHP] Interactive canvas example

2008-10-27 Thread Richard Heyes
 great job, i can see uses for this in lots of applications

Thanks. I'm hoping the bandwidth and load saving will be quite an incentive.

--
Richard Heyes

HTML5 Graphing for FF, Chrome, Opera and Safari:
http://www.rgraph.org (Updated October 25th)

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Interactive canvas example

2008-10-26 Thread Richard Heyes
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

-- 
Richard Heyes

HTML5 Graphing for FF, Chrome, Opera and Safari:
http://www.rgraph.org (Updated October 25th)

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Interactive canvas example

2008-10-26 Thread Nick Stinemates
On Sun, Oct 26, 2008 at 10:57:19AM +, 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
 
 -- 
 Richard Heyes
 
 HTML5 Graphing for FF, Chrome, Opera and Safari:

Clicked a bar, nothing happened.

Google Chrome, Windows XP

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Interactive canvas example

2008-10-26 Thread Yeti
It worked for me. Although I had some quite CPU intensive processes
running, so it lagged a bit.
Had no time to look into the code, so I was wondering if you could
answer my question ...
That yellow information box popping up onclick(), is it drawn by JS or
is it something like a hidden div?

Congratulations on that one
//A yeti

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Interactive canvas example

2008-10-26 Thread Richard Heyes
 It worked for me. Although I had some quite CPU intensive processes
 running, so it lagged a bit.
 Had no time to look into the code, so I was wondering if you could
 answer my question ...
 That yellow information box popping up onclick(), is it drawn by JS or
 is it something like a hidden div?

JS I suppose. Though it creates a DIV element on demand. The function
in question is RGraph.Tooltip() in RGraph.common.js.

-- 
Richard Heyes

HTML5 Graphing for FF, Chrome, Opera and Safari:
http://www.rgraph.org (Updated October 25th)

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Interactive canvas example

2008-10-26 Thread tedd

At 10:57 AM + 10/26/08, 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

--
Richard Heyes


Richard:

Very nice graph.

Instead of requiring the user to click, try using css and have it 
produce the details on roll-over, like so:


http://webbytedd.com/bbb/map/

Cheers,

tedd

--
---
http://sperling.com  http://ancientstones.com  http://earthstones.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Interactive canvas example

2008-10-26 Thread Richard Heyes
 Very nice graph.

 Instead of requiring the user to click, try using css and have it produce
 the details on roll-over, like so:

Hmm, should be as easy as changing the event from onclick to on
mouseover. I think. But yes, onmouseover would be far better.

-- 
Richard Heyes

HTML5 Graphing for FF, Chrome, Opera and Safari:
http://www.rgraph.org (Updated October 25th)

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Interactive canvas example

2008-10-26 Thread Richard Heyes
 Hmm, should be as easy as changing the event from onclick to on
 mouseover. I think. But yes, onmouseover would be far better.

But it's not, since the mouse is already over the canvas when you move
it over a bar, thus not triggering a new event. Ho hum.

-- 
Richard Heyes

HTML5 Graphing for FF, Chrome, Opera and Safari:
http://www.rgraph.org (Updated October 25th)

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Interactive canvas example

2008-10-26 Thread Richard Heyes
 ...

Ok, a little more playing and I've managed to whittle the public API
down, so animated bar charts galore!

-- 
Richard Heyes

HTML5 Graphing for FF, Chrome, Opera and Safari:
http://www.rgraph.org (Updated October 25th)

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php