I'm trying to build some Annotations on my chart. The string that I'm using has some \t tab escape characters, which it uses for formatting a simple table. While a bit archaic, this is the format I'm presented with. Currently, the \t character is not being represented with whitespace, but is instead being skipped over. Is there a way to tell the annotation to parse the \t for a targeted number of spaces?
If not, any recommendations on parsing and replacing the \t with appropiate number of spaces? I'll likely have to do it before I assign the string to the AnnotationXY.Text.
Annotations to respect \t
Moderator: Queue Moderators
- ArctionPasi
- Posts: 1367
- Joined: Tue Mar 26, 2013 10:57 pm
- Location: Finland
- Contact:
Re: Annotations to respect \t
There doesn't seem to be a way to add \t directly. Setting a mono-space font, like Courier New for the annotation, and adding preferred amount of spaces will do the trick.
LightningChart Support Team, PT