X Axis Label at an angle with multiline text
Posted: Tue Aug 03, 2004 4:02 pm
Using the following code produces nice multiline labels;
TChart.Axis.Bottom.Labels.Clear
TChart.Axis.Bottom.Labels.Add 1, "Testing"
TChart.Axis.Bottom.Labels.Add 3, "Testing" & vbcr & "testing" & vbcr & "testing"
TChart.Axis.Bottom.Labels.Add 2, "Testing" & vbcr & "testing"
TChart.Axis.Bottom.Labels.Angle = 0
However if you then use;
TChart.Axis.Bottom.Labels.Angle = 45
The text is no longer multiline, all text is overlapping on itself, is there any way around this?
TChart.Axis.Bottom.Labels.Clear
TChart.Axis.Bottom.Labels.Add 1, "Testing"
TChart.Axis.Bottom.Labels.Add 3, "Testing" & vbcr & "testing" & vbcr & "testing"
TChart.Axis.Bottom.Labels.Add 2, "Testing" & vbcr & "testing"
TChart.Axis.Bottom.Labels.Angle = 0
However if you then use;
TChart.Axis.Bottom.Labels.Angle = 45
The text is no longer multiline, all text is overlapping on itself, is there any way around this?