Author: adb30
Description:
Summary: Broken html formatting in jqplotchart donut legend
<nowiki>{{#ask: ... | format = jqplotchart | charttype = donut | theme = simple }}</nowiki>
Hello,
I have used something similar to the above to create [http://wiki.guildwars2.com/wiki/Template:Drop_rate_lookup_table], which mostly displays as intended. However, upon inspection of the html it is generating a formatting line for the legend with the following:
<table class="jqplot-table-legend" style="top: 10px; right: 10px; font-family:; font-size: 8.93px; position: absolute;" 102);margin-top:10px;margin-bottom:0px;margin-left:0px;margin-right:10px;"="" 102,="" ms",arial,helvetica,sans-serif;color:rgb(102,="" trebuchet="">
...whereas it should be writing something like:
<table class="jqplot-table-legend" style="top: 10px; right: 10px; font-family:'trebuchet ms',arial,helvetica,sans-serif; font-size: 8.93px; position: absolute; margin: 10px 10px 0 0; color:rgb(102,102,102);">
(I suspect the problem comes from the quotes around "trebuchet ms"). This ends up dropping a lot of the formatting for the legend.
Thanks, Alex.
Version: unspecified
Severity: minor