Box position incorrect if bottom-axis inverted

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Chris.CHWU
Newbie
Newbie
Posts: 57
Joined: Wed Jan 30, 2008 12:00 am

Box position incorrect if bottom-axis inverted

Post by Chris.CHWU » Fri May 23, 2008 6:48 am

Greetings,

I tried to draw a box with bottom-axis inverted.
But the position of the box seems incorrect. Would you please help to check this? Thanks!

Code: Select all

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

        mDrawBox(TChart1, False)
        mDrawBox(TChart2, True)

    End Sub

    Private Sub mDrawBox(ByRef tchart As Steema.TeeChart.TChart, ByVal bInvert As Boolean)
        Dim serial As Steema.TeeChart.Styles.Box = New Steema.TeeChart.Styles.Box()

        tchart.Aspect.View3D = False

        serial.Add(75.5)
        serial.Add(6.5)
        serial.Add(10.5)
        serial.Add(89.5)
        serial.Add(99.5)
        serial.ReconstructFromData()

        tchart.Series.Add(serial)

        tchart.Axes.Bottom.Inverted = bInvert
    End Sub

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Fri May 23, 2008 8:29 am

Hi Chris.CHWU,

Thanks for reporting. I could reproduce the issue here and added it (TF02013067) to our defect list to be fixed for future releases.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply