Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Real-world Events facility #307

Open
dnschnur opened this Issue · 4 comments

1 participant

@dnschnur
Owner

Original author: sam%samr...@gtempaccount.com (September 29, 2009 15:33:21)

Wow flot is amazing.

My feature request: I'd love to have an "events" timeline that goes
across the top of the graph for correlating user-supplied events in
the time line. Forgive my ASCII-art

       E              E      E
      /              /      /

100 |-----------------------------------|
| | | | |
| | /-----------|------|\ |
50 | | / | | ------|
|----|/ | | |
| | | | |
0 |-----------------------------------|
date date date date date

Where the E's at the top are images/canvas that sorta looks like this
http://cloud.graphicleftovers.com/10428/item16971/mini_eco_tags.jpg
pointed down and to the left. These elements have javascript event
handlers for mouseover and click (etc). By default, clicking them
toggles an increase in opacity(or color) of the vertical line they make
through the graph. Mousing over them gives a tooltip with a larger
description of the event also temporarily increasing the opacity of
the vertical rule.

The idea is that you could enter data like "on Sept 29, 2009 at 4pm
we upgraded the version of blah" and that would show up to more easily
visualize/correlate real-world events to changes on the graphs.

I'm imagining the API would have a timestamp, color, short text
(for the "label") and long text (for the mouseover) per event.

Here's hoping this shows up in a fixed-width font :)

Original issue: http://code.google.com/p/flot/issues/detail?id=228

@dnschnur
Owner

From sam%samr...@gtempaccount.com on September 29, 2009 15:33:54
Sheesh sorry I meant to label this an Enhancement.

@dnschnur
Owner

From olau%iol...@gtempaccount.com on October 21, 2009 19:24:55
This sounds like plugin material.

@dnschnur
Owner

From ryl...@gmail.com on December 21, 2010 00:07:38
This is totally doable in the dev version these days - use the markings, etc.. See this example: http://people.iola.dk/olau/flot/examples/annotating.html

Heck, wouldn't x2axis be enough, with specified ticks/labaels?

I think this could be closed...

@dnschnur
Owner

From dnsch...@gmail.com on May 07, 2012 23:18:06
One can do this in a couple of ways, but I don't think they're straightforward. Markings make the most sense, but currently those are just lines or filled areas. We should provide better hooks to enable custom markings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.