Flot widget: New support for zoom and pan

80 views
Skip to first unread message

Dave Briccetti

unread,
Mar 6, 2011, 4:49:29 AM3/6/11
to Lift
Hi all. As my first contribution to Lift, I’ve added support to the
Flot widget for Flot’s zoom and pan feature. (Here’s a picture of how
I’m using it in a production Lift app: http://www.flickr.com/photos/dcbriccetti/5490828593/
and you can try it out yourself here: http://talkingpuffin.org/tpuf/
.)

I created a review request: http://reviewboard.liftweb.net/r/597/ and
Peter Robinett raised some points that I thought we might discuss
here. If you’re interested, I invite you to address Peter’s issues, as
well as the issue of the very old latest Flot release 0.6 (0.7 is
supposed to be coming soon).

Thanks.

TylerWeir

unread,
Mar 6, 2011, 10:13:53 AM3/6/11
to lif...@googlegroups.com
With the stuff you're adding, I need to find a place in my app to use this.

Nice.

YoJimbo

unread,
Mar 6, 2011, 6:40:03 PM3/6/11
to Lift
Tried it just now, clicking on the link gives me a:

Exception occured while processing /analyze
Message: java.lang.NullPointerException
org.talkingpuffin.snippet.GeneralUserInfo$.disp
$1(GeneralUserInfo.scala:18)
org.talkingpuffin.snippet.GeneralUserInfo
$.create(GeneralUserInfo.scala:20)
org.talkingpuffin.snippet.Auth.generalInfo(Auth.scala:106)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
57)

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
43)
java.lang.reflect.Method.invoke(Method.java:616)
net.liftweb.util.ClassHelpers$$anonfun$net$liftweb$util$ClassHelpers$
$_invokeMethod$2$$anonfun$apply$8.apply(ClassHelpers.scala:318)
net.liftweb.util.ControlHelpers$class.tryo(ControlHelpers.scala:46)
net.liftweb.util.Helpers$.tryo(Helpers.scala:34)
net.liftweb.util.ControlHelpers$class.tryo(ControlHelpers.scala:84)
net.liftweb.util.Helpers$.tryo(Helpers.scala:34)
net.liftweb.util.ClassHelpers$$anonfun$net$liftweb$util$ClassHelpers$
$_invokeMethod$2.apply(ClassHelpers.scala:318)
net.liftweb.util.ClassHelpers$$anonfun$net$liftweb$util$ClassHelpers$
$_invokeMethod$2.apply(ClassHelpers.scala:318)
scala.collection.Iterator$$anon$19.next(Iterator.scala:369)
scala.collection.Iterator$class.find(Iterator.scala:679)
scala.collection.Iterator$$anon$19.find(Iterator.scala:367)
net.liftweb.util.ClassHelpers$class.net$liftweb$util$ClassHelpers$
$_invokeMethod(ClassHelpers.scala:319)

Dave Briccetti

unread,
Mar 6, 2011, 9:50:57 PM3/6/11
to Lift
Thanks for the report. They can go directly to me at
da...@davebsoft.com. It was a Twitter error (probably 502) that I
wasn’t handling, but now am.

Peter Robinett

unread,
Mar 7, 2011, 5:33:33 PM3/7/11
to lif...@googlegroups.com
Thanks, Dave. So far it looks like there are no objections. ;-)

Peter
Reply all
Reply to author
Forward
0 new messages