Multiline annotation text alignment
Posted: Mon May 23, 2016 4:08 pm
Hello, got something new for monday morning.
I have build a 'table tooltip' out of a ton of annotations, based on the lightning chart example, shown below
Note the top annotation. It is a single annotation, set with the string:
"Marker Text\n[cmd][otherstuff]"
The cell's alignment is set with HorizAlign = AlignmentHorizontal.Center;
The bug is this: If you have a multiline annotation, the alignment seems to only work on the longest string (or something like that). As you can see, the top row of my annotation is center aligned.
I have build a 'table tooltip' out of a ton of annotations, based on the lightning chart example, shown below
Note the top annotation. It is a single annotation, set with the string:
"Marker Text\n[cmd][otherstuff]"
The cell's alignment is set with HorizAlign = AlignmentHorizontal.Center;
The bug is this: If you have a multiline annotation, the alignment seems to only work on the longest string (or something like that). As you can see, the top row of my annotation is center aligned.