ladybug-tools / ladybug-legacy

:beetle: Ladybug is an environmental plugin for Grasshopper.
http://ladybug.tools
Other
192 stars 82 forks source link

Ladybug: How to change the temperature legends from C to °C. #474

Closed ghost closed 4 years ago

ghost commented 4 years ago

Hello guys,

I have the following problem: I would like to set up a file in which I can visualize the temperature with a chart in Ladybug. However the legends of all the different chart types always use "C" as head of the legend. I would like to change this to "°C". Any idea how I can do that?

Looking forward to hearing from you! Best Max

devang-chauhan commented 4 years ago

You can do the following to achieve what you mentioned. Custom Legend Using this File Please close this issue if this answers your query.

chriswmackey commented 4 years ago

It's also worth adding that, because the degree symbol isn't an ASCII character, it can create issues on certain machines that lack a full character set and, perhaps more importantly, it creates issues with simulation engines like EnergyPlus, which halts the whole simulation when it finds a non-ASCII character. So this is why the software is the way that it is and it's why we still plan to use C in the [+] libraries (without the degree symbol). But we'll make sure that there are always workarounds like this if you need them.