Skip to content

HTML-code in the legend #85

dnschnur opened this Issue Sep 28, 2012 · 1 comment

1 participant

Flot member

Original author: (December 06, 2007 20:09:10)


Is it somehow possible to do some formatting (e.g. adding a hyperlink) with
the legend?


Original issue:

Flot member

From on December 07, 2007 10:07:34
Currently you can either patch it up after the fact by catching the label cells with
a bit jQuery (you should be able to catch 'em with $(".legendLabel")) or specify HTML
code as input to the labels.

This is a bit rotten however, so I've added support in SVN trunk for specifying a
labelFormatter function in the legend. It's documented in the API documentation. I'll
make a 0.2 release very soon with this in.

@dnschnur dnschnur closed this Sep 28, 2012
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.