Page 1 of 1

Box position incorrect if bottom-axis inverted

Posted: Fri May 23, 2008 6:48 am
by 14048132
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

Posted: Fri May 23, 2008 8:29 am
by narcis
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.