Comments (7)
Would you please try debugging it?
Otherwise please provide a test page to allow someone else to try.
Original comment by olau%[email protected]
on 13 Dec 2007 at 6:50
from flot.
Here some example:
http://marcis.info/temp/flot/
Original comment by [email protected]
on 18 Feb 2008 at 2:35
from flot.
tried the same example with flot 0.4. the same error ;/
Original comment by [email protected]
on 13 Mar 2008 at 2:29
from flot.
I went to that page and it casts an exception: "Invalid dimensions for plot,
width =
0, height = 0". This means that the placeholder object hasn't got the
dimensions set
at the time where you try to do the plot.
In your case this is probably because the placeholder is hidden (display:none)
at the
moment you call $.plot. You need to refactor your code to prevent this. I don't
know
what thickbox is doing so I can't tell what would work best, but a quick fix
would
perhaps be to just wait a short moment with setTimer().
In short: this is not a Flot bug as the canvas _must_ have its dimensions set
before
Flot can do anything.
My apologies for it taking so long. I can recommend using the mailing list in
the
future - in fact there was a discussion today about the same kind of problem.
It's
available like a web forum with the Google Groups web interface.
Original comment by olau%[email protected]
on 13 Mar 2008 at 4:43
- Changed state: Invalid
from flot.
I did a couple of tests, and I'm beginning to think that the problem isn't that
the
placeholder is hidden at the moment you call $.plot but rather that the DOM
isn't
ready yet. It's just a theory, but it might be related to the fact that you
doing the
plot inside an iframe.
I found this link which might help:
http://ideamill.synaptrixgroup.com/?p=6
Original comment by olau%[email protected]
on 14 Mar 2008 at 10:40
from flot.
Hm, did some more testing. The results seem to contradict what I just said.
Original comment by olau%[email protected]
on 14 Mar 2008 at 12:52
from flot.
Original comment by [email protected]
on 4 Jun 2012 at 2:39
from flot.
Related Issues (20)
- Non-time axis tick-generation broken when reusing plots HOT 1
- $.plot.formatDate() no longer accessible HOT 1
- flot inside a tab
- Not Plotting In Safari
- Standardize fill and fillColor across bar and pie charts
- "steps" without extra points HOT 1
- there is a error in the file jquery.flot.pie.js!
- threshold function and tooltips not working together HOT 1
- xaxis tick marks for time series isshe when over 24 hours. v0.8.
- In case of long number transferred to x axis, its overlaps. HOT 1
- Invalid Bar Alignment
- Check if a point is already highlighted
- Error Bars not playing nicely with time plugin (x-axis auto scales to origin 1970)
- Showing data pionts in stacked chart
- plot hover
- "offset" parameter for bar charts
- Duplicate plot rendering of Flot graph HOT 1
- Flot doesn't handle summertime (BST) correctly. HOT 1
- Can I change the tickColor for only one tick
- Legend label is not displayed if label is empty string
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flot.