Page 1 of 1

version 2.02 does not support multiple colorgrids

Posted: Wed Jan 18, 2006 11:40 am
by 9637288
I'm trying to display several colorgrid series in one chart. This worked perfectly with v2 evaluation. With v2.02 only one of the series will be visible even though the axes show that the second series is also there, but not shown.

Code: Select all


        Dim i, j, c As Integer

        Dim xvalues(49) As Double
        Dim yvalues(49) As Double
        Dim zvalues(49) As Double
        Dim x2values(49) As Double
        Dim y2values(49) As Double
        Dim z2values(49) As Double


        For i = 0 To 9
            For j = 0 To 4
                c = 5 * i + j
                xvalues(c) = i
                zvalues(c) = j
                yvalues(c) = c
            Next
        Next

        Dim cc1 As New Steema.TeeChart.Styles.ColorGrid
        cc1.Add(xvalues, yvalues, zvalues)
        TChart1.Series.Add(cc1)

        For i = 0 To 9
            For j = 0 To 4
                c = 5 * i + j
                x2values(c) = i
                z2values(c) = j + 5
                y2values(c) = c + 5
            Next
        Next

        Dim cc2 As New Steema.TeeChart.Styles.ColorGrid
        cc2.Add(x2values, y2values, z2values)
        TChart1.Series.Add(cc2)
        TChart1.Aspect.View3D = False


Posted: Mon Jan 23, 2006 10:24 am
by narcis
Hi TEh,

Thanks for your report. I've been able to reproduce it here and this problems seems caused by some modification done for the latest releases. I've added it to our defect list to be fixed ASAP.

Posted: Mon Jan 23, 2006 10:28 am
by 9637288
Thanks!