Original author: chris.le...@gmail.com (February 10, 2009 05:04:21)
I've added capability for automatic trendlines as well as dragging data
points and dynamically updating series data. I've posted the patch and
code here for consideration.
Since I've been depending on Jonathan Leto's log axes mods, this code is
based off of his latest git repository, which is based off of rev131. I've
diffed against that. I know this may cause some confusion and difficulty
because it seems his mods haven't been merged into trunk yet. If these
enhancements seem useful, I'll help however I can to merge everything together.
Examples and explanation of usage can be found on my blog here:
I also fixed the following issues I discovered with log axes in Jonathan's
Code (which is not yet in trunk):
Dual axes weren't supported correctly. Now checks which axes go with
which series when scaling axes.
values returned on a plotclick/plothover event were log values. Now
convert them back to "unscaled" values.
I hope this is useful to the flot community.
Original issue: http://code.google.com/p/flot/issues/detail?id=110
From jal...@gmail.com on February 10, 2009 09:15:16
These features look great! I have applied your changes to my git repo.
The patch above is "backwards" and modified a non-standard filename, so I have
attached another patch for those that like to use it.
You will also see that I merged in these changes with my screw-unit branch, this code
that you have added is just begging to be tested...
From chris.le...@gmail.com on February 10, 2009 12:03:12
Thanks Jonathan for fixing the patch. It was late when I diffed that file, I wasn't
From email@example.com on March 26, 2010 16:43:45
Is there an updated version of this patch somewhere, or can I get the git version
with the patch applied somewhere? I'm very interested in the trendlines and can't
find those in the current git or 0.6 version.
From chris.le...@gmail.com on March 29, 2010 03:48:05
I haven't made any updates to the patch since I posted it, maybe someone else has. I
did develop an different open source jQuery plotting package that supports trendlines
From trav...@gmail.com on August 16, 2010 17:31:03
I would really love to see the "draggable" feature of the patch added to the trunk. Is there an update on the dragging data points? That is very cool, and I like your demo on your blog, Chris.
From param...@gmail.com on January 25, 2012 08:13:42
I am not able to see the Example in the blog the link is broken. can anyone help me with the new link or any other example showing trendline features