dhammucool / flot

Automatically exported from code.google.com/p/flot
MIT License
0 stars 0 forks source link

Venn Diagram support #166

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I had a need to display Venn Diagrams (set overlaps) in a browser, and flot
seemed like a nice library to extend.
Venn diagrams are often used in bioinformatics to display combined effects.

Please find attached a diff with the necessary changes for 2 and 3 set Venn
diagrams, complete with example page explaining usage.

I had to change two core details apart from the obvious extensions of
options and drawSerios:
a) color assignment: Venn diagrams need more than one color per diagram
b) data 'numerizatian' - Venn diagrams take a series of two (or three)
sets, and that should not be forced into a numeric representation.

I release the attached code under the same MIT licence that flot's under,
and would be happy if it was included. The patch is against this morning's
SVN revision 159.

So long,
Tyberius Prime

Original issue reported on code.google.com by tyberius...@coonabibba.de on 3 Jun 2009 at 8:39

Attachments:

GoogleCodeExporter commented 8 years ago
Interesting. I'm working on a plugin system right now which I hope to be 
powerful
enough to enable this without modifying the core. So I'll be sure to have look 
at
your patch.

Original comment by olau%iol...@gtempaccount.com on 3 Jun 2009 at 9:40

GoogleCodeExporter commented 8 years ago

Original comment by dnsch...@gmail.com on 7 May 2012 at 8:46