Comments (5)
Hi!
I have the following comments. It appears to me that the createElement changes
should
go into jQuery rather than Flot as Flot is using standard jQuery syntax as far
as I
know? Is there any reason this won't work? I'd rather have jQuery do what it's
best
at, abstracting over platform details.
It's a bit hard to evaluate the other changes because they are mixed with the
DOM stuff.
About the target: it's noted in the documentation that Flot will modify some
properties of it. I thought I had some reason for not inserting a custom-made
div
inside, but maybe I just didn't think about absolute positioning. It's probably
silly
not to support absolute out of the box, it's just going to cause confusion.
About the legend alignment: I'd like to hear the problem?
About tabs: you're right. I've hacked on Flot on a non-fixed Emacs, it must have
sneaked in the tabs.
Original comment by olau%[email protected]
on 13 Dec 2007 at 6:40
from flot.
Hmm, something like "$.createElement"? I think it's fine either way since it's
just a
shortcut to "document.createElementNS" if exists.
About the legend alignment, I added "vertical-align:middle;" to the cells of the
legend's table, works where supported and if the text wraps in many lines, the
field's box will still be centered.
Anyway, thanks for this awesome plugin.
Original comment by [email protected]
on 15 Dec 2007 at 12:09
from flot.
Thanks!
I can't reproduce the problem you describe with the legend alignment. If I add
a long
legend text with a <br>, the box is aligned in the middle of the text. So I
don't
think it needs to be hardcoded.
About the namespace stuff - I can see where you're coming from. But the typed
HTML is
much faster, takes up less space and is also easier to read. If it doesn't work
in a
XUL page, I think that the solution would be to fix up Firefox in some way so
that it
can support HTML inside XML documents (this would also make other libraries
work out
of the box).
Maybe Firefox needs support for saying "the following calls are to interpreted
with
an HTML namespace" or "the default namespace is now HTML"?
Original comment by olau%[email protected]
on 6 Mar 2008 at 5:08
from flot.
I'm going to close this now since it appears to me that it's not a Flot change
that
needs to happen.
Original comment by olau%[email protected]
on 8 Sep 2008 at 10:28
- Changed state: WontFix
from flot.
Original comment by [email protected]
on 4 Jun 2012 at 2:41
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.