Underscores cause problems in Legends

Welcome to our Forums Product Development Bug reports Underscores cause problems in Legends

Tagged: ,

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #3282
    sam
    Participant

      I prefer to use underscores in many places to avoid possible confusion arising from whitespace in names.

      In this case it looks like using underscores in a data column name causes the subsequent letter in the Legend to be rendered as subscript.

      Is this a bug or a natural side-effect of the way subscript notation is supposed to work?

      If it’s a side-effect, is there a way to avoid it, perhaps by escaping the _ character with an appropriate escape character such as \ ?

       

      Edit: I tried using \_ which does solve the subscripting problem, but then forces the _ to appear in the legend.

      I also tried using \\_ but that just forces the entire rest of the label into subscript.

      Screen shot attached:

      Screen Shot 2020-02-20 at 5.48.38 PM

      • This topic was modified 4 years, 1 month ago by sam. Reason: Added note about attempted escape using \
      #3284
      SingingKim
      Participant

        Try “Indoor_{CO_2}”

        #3285
        sam
        Participant

          Sorry, I realized this isn’t a bug, it’s lack of knowledge on my part. I can simply double-click the legend name and change the definition to be any arbitrary string. Mission accomplished / case closed. Moderators/admins feel free to move this thread elsewhere if appropriate.

           

          Screen Shot 2020-02-20 at 6.45.46 PM

        Viewing 3 posts - 1 through 3 (of 3 total)
        • You must be logged in to reply to this topic.

        Welcome to our Forums Product Development Bug reports Underscores cause problems in Legends