jqPlot, canvasrenderer labels with html inside them
i am using jqplot to graph some data. my axis label has a micro in it. µ
but it is being passed through as tha开发者_StackOverflowt and not an entity.
here is the code
axes:{
yaxis:{
label:'L,µH',
autoscale: true,
labelRenderer: $.jqplot.CanvasAxisLabelRenderer
}
}
is there a way to not have the entity be converted? thanks!
Not sure what your actual problem is, but you could try replacing
label:'L,µH',
with
label:'L,µH',
I don't really understand what you are saying
Huh...? Could you be more clear on what your real problem is???
Test site with µ
and µ
http://jsbin.com/olove
jqplot http://img13.imageshack.us/img13/7264/clipboard01pm.jpg
Which one do you want? Both versions work first one displays the character Μι
itself second one displays the html entity.
精彩评论