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
// Important: Don't use quotes around axis.font.family! Just around single
// font names like 'Times New Roman' that have a space or special character in it.
ctx.font = f.style + " " + f.variant + " " + f.weight + " " + f.size + "px " + f.family;
It seems the version in measureTickLabels isn't paying attention to the warning in the other location. It is producing (in my case) an invalid font-family: normal normal normal 13px 'Verdana, arial, sans-serif', which means all the labels aren't in the right spot.
Original author: cthe...@gmail.com (September 27, 2011 23:37:31)
Canvas' font property is build in two places:
drawAxisLabels
// Important: Don't use quotes around axis.font.family! Just around single
// font names like 'Times New Roman' that have a space or special character in it.
ctx.font = f.style + " " + f.variant + " " + f.weight + " " + f.size + "px " + f.family;
measureTickLabels
ctx.font = f.style + " " + f.variant + " " + f.weight + " " + f.size + "px '" + f.family + "'";
It seems the version in measureTickLabels isn't paying attention to the warning in the other location. It is producing (in my case) an invalid font-family: normal normal normal 13px 'Verdana, arial, sans-serif', which means all the labels aren't in the right spot.
Original issue: http://code.google.com/p/flot/issues/detail?id=609
The text was updated successfully, but these errors were encountered: