You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the expected output? What do you see instead?
I expected to see the colored boxes that correspond to the trace colors.
Instead the legend label boxes are white.
What version of the product are you using? On what operating system?
Flot 0.4.
Firefox 3.0rc1, IE 6, IE 7 (on Win XP)
Firefox 2.0.0.11 (on Linux)
Please provide any additional information below.
Unfortunately the background colors set with CSS don't print (unless the
user overrides a setting on their browsers).
I think you have to either make the legend labels be canvas tags or use the
colored border cheat. In the example below, the top div is the same as
your legends, the bottom one uses the margin color trick to make printable
blocks:
From olau%iol...@gtempaccount.com on September 08, 2008 09:42:52
This to a certain extent sounds like issue #25. If I recall correctly, I didn't have
any luck with it last time I experimented with it (I didn't have much time, though).
Anyone of you clever people up for well-tested patch I can apply?
Original author: knob...@gmail.com (June 10, 2008 15:29:19)
What steps will reproduce the problem?
What is the expected output? What do you see instead?
I expected to see the colored boxes that correspond to the trace colors.
Instead the legend label boxes are white.
What version of the product are you using? On what operating system?
Please provide any additional information below.
Unfortunately the background colors set with CSS don't print (unless the
user overrides a setting on their browsers).
I think you have to either make the legend labels be canvas tags or use the
colored border cheat. In the example below, the top div is the same as
your legends, the bottom one uses the margin color trick to make printable
blocks:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<body>
<ul>
<li> <div style="overflow: hidden; width: 14px; height: 10px;
background-color: rgb(175, 216, 248);"/> </li>
<li> <p><div style="overflow: hidden; width: 0px; height: 0px;
border-width: 5px 7px 5px 7px; border-style: solid; border-color: rgb(175,
216, 248);"/></li>
</ul>
</body>
</html>
Original issue: http://code.google.com/p/flot/issues/detail?id=45
The text was updated successfully, but these errors were encountered: