How can we use JLayout on the html5 canvas? Is there a simple example somewhere?

121 views
Skip to first unread message

Jochen Szostek

unread,
Dec 29, 2011, 10:17:37 AM12/29/11
to jla...@googlegroups.com
I assume the container parameter can't just be a object canvas, or am I wrong here? :)

Bram Stein

unread,
Jan 4, 2012, 10:49:28 AM1/4/12
to jLayout
Hi,

Unfortunately there is no simple example, and passing a canvas
instance won't work as you correctly guessed. You'll have to implement
your own objects according to the specification at:
http://www.bramstein.com/projects/jlayout/#usage. There is an example
in my (unpublished) chart library, but it is not clearly documented or
simple (https://github.com/bramstein/javascript/blob/master/src/chart/
properties.js) Let me know if you need more help,

Bram

On Dec 29 2011, 4:17 pm, Jochen Szostek <jochen.szos...@gmail.com>
wrote:
Reply all
Reply to author
Forward
0 new messages