Commit c198ffb2 authored by olau@iola.dk's avatar olau@iola.dk

Fixed the look of the legend color boxes in IE

git-svn-id: https://flot.googlecode.com/svn/trunk@41 1e0a6537-2640-0410-bfb7-f154510ff394
parent 71a276d9
...@@ -950,7 +950,7 @@ ...@@ -950,7 +950,7 @@
label = options.legend.labelFormatter(label); label = options.legend.labelFormatter(label);
fragments.push( fragments.push(
'<td class="legendColorBox"><div style="border:1px solid ' + options.legend.labelBoxBorderColor + ';padding:1px"><div style="width:14px;height:10px;background-color:' + series[i].color + '"></div></div></td>' + '<td class="legendColorBox"><div style="border:1px solid ' + options.legend.labelBoxBorderColor + ';padding:1px"><div style="width:14px;height:10px;background-color:' + series[i].color + ';overflow:hidden"></div></div></td>' +
'<td class="legendLabel">' + label + '</td>'); '<td class="legendLabel">' + label + '</td>');
} }
if (rowStarted) if (rowStarted)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment