Hi,
Current code:
AxMSChart1.RowLabel = "aaa" & ", " & "bbb"
How to write the code, so it'll appear as
aaa
bbb
instead of aaa, bbb?
Printable View
Hi,
Current code:
AxMSChart1.RowLabel = "aaa" & ", " & "bbb"
How to write the code, so it'll appear as
aaa
bbb
instead of aaa, bbb?
You'd have to split the string into values, then use this, to strip out the center value
Code:Dim a as string = "aaa" : Dim b as string = "a, " : Dim c as string = "bbb"
String.Format({0}{1}{2}", a, Environment.NewLine, c)
Try this:
orCode:AxMSChart1.RowLabel = String.Format("{0}{1}", a & Environment.NewLine, c) ?
or use Environment.NewLine as b, and print a,b,cCode:AxMSChart1.RowLabel = String.Format("{0}{1}", a & vbCrLf, c) ?
Is your label set to MultiLine? That's probably the answer, now that I think of it
Set the HEIGHT to double and try