if use DrawText method as you can see below the followings will happen:
1) Text = "bla bla bla"
Draw on Chart: Ok (1 row)
Text properties, General TAB: Ok (1 row)
2) Text = "bla bla bla" + Environment.NewLine + "bla bla bla" + Environment.NewLine + "bla bla bla"
Draw on Chart: Ok (3 row)
Text properties, General TAB: Ok (3 row)
3) Text = Environment.NewLine + "bla bla bla" + Environment.NewLine
Draw on Chart: Not right (1 row)
Text properties, General TAB: Ok (3 row)
Other note to here: if you use higher font (not default), then outline cut from the font.
4) Text = "" + Environment.NewLine + "bla bla bla" + Environment.NewLine + ""
Same as 3 point.
5) Text = " " + Environment.NewLine + "bla bla bla" + Environment.NewLine + " "
Same as 3 point.
Other problem:
If you write in lot of row, it will be shown on the Chart, but no any scrollbar will not be shown on General TAB. Long rows will be wrapped, but you can scroll vertically only if text selection is used. I think it would be better if both scrollbars are enabled.
Best regards,
Tamas

Comment