Page 1 of 1

Problems with v7.1.0.3

Posted: Mon Apr 16, 2007 11:10 am
by 9529727
Before upgrading de version, this line runs correct
teechart1.Axis.Bottom.Labels.Item(.SeriesCount - 1).Text = "A" & Chr(13) & "B".
After upgrading the CR doesn't work
It's a bug? or this property has changed?

Posted: Mon Apr 16, 2007 11:38 am
by narcis
Hi tai,

It works fine for me here using v7.0.1.3 and this code:

Code: Select all

Private Sub Form_Load()
    With TChart1
        .Series(0).FillSampleValues 10
            
        .Axis.Bottom.Labels.Clear
        
        For i = 0 To .Series(0).Count - 1
            .Axis.Bottom.Labels.Add i, "Point " + CStr(i)
        Next
        
        .Axis.Bottom.Labels.Item(.SeriesCount - 1).Text = "A" & Chr(13) & "B"
    End With
End Sub
Could you please try if it works fine at your end? If the problem persists, could you please send us a simple example project we can run "as-is" to reproduce the problem here.

You can post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.

Thanks in advance.