Re: placeholder.css(...) is undefined error

1,954 views
Skip to first unread message

DNS

unread,
May 3, 2013, 4:55:12 PM5/3/13
to flot-...@googlegroups.com
We don't have enough info to work with; can you show us your code?

Juergen Marsch

unread,
May 4, 2013, 3:34:43 AM5/4/13
to flot-...@googlegroups.com
Did you set width and height of placeholder ?
Regards from Krefeld(sunny and about 19 degrees)
Jürgen


On Fri, May 3, 2013 at 6:08 PM, Sharman Staples <sharman...@gmail.com> wrote:
I'm trying to evaluate flot for use in our in-house tools. Running Ruby-on-Rails. I get the above error no matter what I attempt.

Thanks for any help you can give me.

S. Staples

--
 
---
You received this message because you are subscribed to the Google Groups "Flot graphs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flot-graphs...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

cam...@digitalnomad.co.nz

unread,
Oct 7, 2013, 6:59:06 AM10/7/13
to flot-...@googlegroups.com
This error comes up when you are not passing a valid jquery object to the flot contructor.

I had this issue too. Dumping my jquery object to the console revealed that it was actually undefined, this due to the DOM not being fully loaded when the code was executing.

Check your id is correct when creating your jquery object, and/or make sure you are wrapping your code in a document.ready() function to ensure the DOM has been fully loaded before your code executes.
Reply all
Reply to author
Forward
0 new messages