[Lift] Re: Anyone working on the flot widget?

2009-06-28 Thread Jeppe Nejsum Madsen
On Sat, Jun 27, 2009 at 5:46 PM, Timothy Perretttimo...@getintheloop.eu wrote: Guys, If you want changes made to the flot widgets, please let us know what exactly needs changing and we'll get it done. By all means, please don't feel you are out in the cold! Hi Tim, Personally, I don't

[Lift] Re: Anyone working on the flot widget?

2009-06-28 Thread Francois Bertrand
David: Thanks for reporting this. I will put your solution in: - jquery.flot.css that defines a new CSS class named flot_lww - Flot.scala where the Flot.render method will generate a call to jQuery (#idPlaceHolder).addClass (flot_lww) to make the solution transparent to the HTML designer I

[Lift] Re: Anyone working on the flot widget?

2009-06-27 Thread Jeppe Nejsum Madsen
dflemstr david.flemst...@gmail.com writes: Hello everyone involved, I am having a very annoying problem with the Flot widget: The automatically generated legend's auto-sizing feature is broken (it grows horizontally to the max allowed space while still adhering to the margin values

[Lift] Re: Anyone working on the flot widget?

2009-06-27 Thread dflemstr
If this indeed is an upstream bug (I'll have to try to re-implement the Flot object with an alternate resource file to check; annoying that such things are hardcoded), then the only solution to it would be to update the flot widget to a newer version anyways, so some work needs to be done on the

[Lift] Re: Anyone working on the flot widget?

2009-06-27 Thread dflemstr
Follow-up on my other reply: When using the latest Flot 0.5 version, the exact same bug appears when using it with the widgets.flot module. I am absolutely certain that I am loading the correct Flot JS files (I haven't shadowed the old resource path, but instead forked the whole Flot widget

[Lift] Re: Anyone working on the flot widget?

2009-06-27 Thread Jeppe Nejsum Madsen
On Sat, Jun 27, 2009 at 11:10 AM, dflemstrdavid.flemst...@gmail.com wrote: As can be seen here: http://bit.ly/13EEnw , the bug isn't present in the vanilla Flot library. Make sure you're trying to plot the same data with the same plot options. I am at a loss to find the bug causing all

[Lift] Re: Anyone working on the flot widget?

2009-06-27 Thread Timothy Perrett
Guys, If you want changes made to the flot widgets, please let us know what exactly needs changing and we'll get it done. By all means, please don't feel you are out in the cold! Cheers, Tim On 27/06/2009 15:14, Jeppe Nejsum Madsen je...@ingolfs.dk wrote: I'm basically in the same boat and

[Lift] Re: Anyone working on the flot widget?

2009-06-27 Thread dflemstr
Make sure you're trying to plot the same data with the same plot options. Well, that's an easy one, since the bug appears in all graphs with legends, everywhere. I'm basically in the same boat and will probably clone the lift-widgets module on github and work from there (I'm not a Lift

[Lift] Re: Anyone working on the flot widget?

2009-06-26 Thread Peter Robinett
Hi flot users, I am trying to copy the basic Flot example into my own code. I have no compile errors but the graph isn't rendered because /classpath/flot/ jquery.flot.js isn't found. Since I get no errors with the flot methods in my snippet, I assume lift-widgets is loading correctly. Am I

[Lift] Re: Anyone working on the flot widget?

2009-06-26 Thread Jeppe Nejsum Madsen
On 26 Jun 2009, Peter Robinett wrote: Hi flot users, I am trying to copy the basic Flot example into my own code. I have no compile errors but the graph isn't rendered because /classpath/flot/ jquery.flot.js isn't found. Since I get no errors with the flot methods in my snippet, I assume

[Lift] Re: Anyone working on the flot widget?

2009-06-26 Thread Peter Robinett
Thanks, Jeppe, that's what I was missing. To continue to hijack this thread with my own questions, I'm having a problem creating the data List[(Double, Double)] that FlotSerie wants. I have: override val data = MyModel.findAll(By(MyMode.id, myId), OrderBy (MyModel.datetime, Ascending)).map(m =

[Lift] Re: Anyone working on the flot widget?

2009-06-26 Thread Viktor Klang
What's the type of temperature and what's the signature of the toDouble method on it? On Fri, Jun 26, 2009 at 11:09 AM, Peter Robinett pe...@bubblefoundry.comwrote: Thanks, Jeppe, that's what I was missing. To continue to hijack this thread with my own questions, I'm having a problem

[Lift] Re: Anyone working on the flot widget?

2009-06-26 Thread Jeppe Nejsum Madsen
Peter Robinett pe...@bubblefoundry.com writes: Thanks, Jeppe, that's what I was missing. To continue to hijack this thread with my own questions, I'm having a problem creating the data List[(Double, Double)] that FlotSerie wants. I have: override val data = MyModel.findAll(By(MyMode.id,

[Lift] Re: Anyone working on the flot widget?

2009-06-26 Thread Peter Robinett
Thanks, Jeppe, that was it. So 'is' will give you the native type of any MappedType? Good to know! Peter On Jun 26, 3:47 am, Jeppe Nejsum Madsen je...@ingolfs.dk wrote: Peter Robinett pe...@bubblefoundry.com writes: Thanks, Jeppe, that's what I was missing. To continue to hijack this

[Lift] Re: Anyone working on the flot widget?

2009-06-26 Thread Timothy Perrett
That's actually a common iddiom throughout lift - its the same for RequestVar and SessionVar etc etc Cheers, Tim On 26/06/2009 16:09, Peter Robinett pe...@bubblefoundry.com wrote: Thanks, Jeppe, that was it. So 'is' will give you the native type of any MappedType? Good to know!

[Lift] Re: Anyone working on the flot widget?

2009-06-26 Thread dflemstr
Hello everyone involved, I am having a very annoying problem with the Flot widget: The automatically generated legend's auto-sizing feature is broken (it grows horizontally to the max allowed space while still adhering to the margin values specified, and it's not possible to create an external,

[Lift] Re: Anyone working on the flot widget?

2009-06-25 Thread Jeppe Nejsum Madsen
On 25 Jun 2009, Francois Bertrand wrote: Hi Jeppe Great to see you are interested in the flot widget. My current to-do list for the flot widget, is: - create more Lift JsExp and JsCmd to modify a already displayed flot graph. They should be used in AJAX and Comet applications -

[Lift] Re: Anyone working on the flot widget?

2009-06-24 Thread Timothy Perrett
I've not spoken with Francois for some time, but I'll ask him next time he's online if he's able to make changes to the flot stuff. He's based in Chilli so should be online later on. Cheers, Tim On 24/06/2009 09:15, Jeppe Nejsum Madsen je...@ingolfs.dk wrote: Hi, We need to do quite a

[Lift] Re: Anyone working on the flot widget?

2009-06-24 Thread Francois Bertrand
Hi Jeppe Great to see you are interested in the flot widget. My current to-do list for the flot widget, is: - create more Lift JsExp and JsCmd to modify a already displayed flot graph. They should be used in AJAX and Comet applications - update to a more recent version of the javascrrit