Invalid Special Characters in Unit description

Apr 19, 2012 at 6:20 PM

I have some measurements in my database which are angles, measured in degrees. The unit is º, just as temperatures in degrees Celsius (ºC). However, it is not possible to represent the º character in the legend. When I add the unit as º, it is replaced by a question mark in the legend.


Is it possible to make OxyPlot understand and represent º?


Apr 19, 2012 at 8:56 PM

Are you using the right degree symbol (Alt+0176)? UTF-8? Is the symbol included in the font you are using? Are you using WPF, SL or WinForms?

I'll change the ExampleLibrary/AxisExamples/TitleWithUnit example to demonstrate "°C" as the unit - it works fine here.