zhaoweikai / flot

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

Legend not part of canvas #519

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
In short, the "label:" portion of the data (which functions as a color key) is 
not being drawn as part of the canvas.  This excludes the label from any 
canvas2image grabs.

Purpose of this bug:
Now that the axis ticks are being drawn as part of the canvas, it is not hard 
to export that data into an image file.  However, when this type of export is 
done (using, say, base64 and canvas2image) it becomes clear that the color 
label isn't making it into the image export.  The reason for this, of course, 
is that the color key is still being rendered as HTML over the canvas.  
Assuming I understand this all correctly.

Original issue reported on code.google.com by William....@gmail.com on 26 Apr 2011 at 10:23

GoogleCodeExporter commented 9 years ago
That's true.

Original comment by olau%iol...@gtempaccount.com on 27 Apr 2011 at 8:11

GoogleCodeExporter commented 9 years ago

Original comment by olau%iol...@gtempaccount.com on 27 Apr 2011 at 8:11

GoogleCodeExporter commented 9 years ago
Are there any plans to add label container &/| axislabels (names) to the canvas?

Original comment by adrian.s...@gmail.com on 23 Nov 2011 at 12:41

GoogleCodeExporter commented 9 years ago
I've just added this functionality, and created a GitHub pull request:
https://github.com/flot/flot/pull/36

Original comment by Rok.Strn...@gmail.com on 3 Feb 2012 at 5:05

GoogleCodeExporter commented 9 years ago

Original comment by dnsch...@gmail.com on 9 May 2012 at 12:52