Home Assistant will plot line graphs only for sensors with unit_of_measurement set to non empty value. If you’d like to have a line graph and still not display any value after the number you just need to insert zero width space character.
In macOS just open Emoji & Symbols window and search for ‘space’, the character will be above B letter.