Colorgrid inverted axis bug reintroduced

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
TEh
Newbie
Newbie
Posts: 6
Joined: Fri Jan 29, 2010 12:00 am

Colorgrid inverted axis bug reintroduced

Post by TEh » Wed Aug 25, 2010 5:46 am

It seems that you have reintroduced the inverted axis bug described in this post http://www.teechart.net/support/viewtop ... 9&start=15
The irregulargrid setting seems to work as fix now too

Yeray
Site Admin
Site Admin
Posts: 9613
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Colorgrid inverted axis bug reintroduced

Post by Yeray » Thu Aug 26, 2010 2:41 pm

Hi,

The bug number TF02013651 says that with the code below the grid is drawn out of the ChartRect:

Code: Select all

tChart1.Aspect.View3D = false;
            tChart1.Axes.Left.Inverted = true;

            Steema.TeeChart.Styles.ColorGrid colorGrid1 = new Steema.TeeChart.Styles.ColorGrid(tChart1.Chart);

            colorGrid1.Active = true;
            //colorGrid1.IrregularGrid = true;

            Random rnd = new Random();
            for (int i = 0; i < 100; i++)
            {
                for (int j = 0; j < 50; j++)
                {
                    colorGrid1.Add(i, rnd.NextDouble(), j);
                }
            }
But I can see the ColorGrid correctly with the latest version (both with IrregularGrid as true and false), don't you?

However, if I comment the line

Code: Select all

tChart1.Axes.Left.Inverted = true;
and scroll down the chart, I can see a strange black zone. Is that what you meant?
ColorGrid.png
ColorGrid.png (51.51 KiB) Viewed 5584 times
I've added it to the defect list to be fixed in future releases (TF02015111)
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

TEh
Newbie
Newbie
Posts: 6
Joined: Fri Jan 29, 2010 12:00 am

Re: Colorgrid inverted axis bug reintroduced

Post by TEh » Fri Aug 27, 2010 5:41 am

No, that is not what I meant.

If I create a form with a button and teechart with a colorgrid series (showing labels) and use the code below,
- with irregulargrid = false clicking the button the axis labels behave correctly but nothing happens to the cells
- with irregulargrid = true both axis labels and cells behave correctly

Code: Select all

Public Class test

    Private Sub test_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        TChart1.Aspect.View3D = False
        ColorGrid1.FillSampleValues(10)
        ColorGrid1.IrregularGrid = False
    End Sub

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        ColorGrid1.GetVertAxis.Inverted = Not (ColorGrid1.GetVertAxis.Inverted)
    End Sub
End Class

TEh
Newbie
Newbie
Posts: 6
Joined: Fri Jan 29, 2010 12:00 am

Re: Colorgrid inverted axis bug reintroduced

Post by TEh » Fri Aug 27, 2010 11:53 am

Seems to be a bit more confusing error:

Just changing the IrregularGrid property value makes the cells to be inverted even though axes are not inverted (and axes' inverted property is not touched)

Yeray
Site Admin
Site Admin
Posts: 9613
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Colorgrid inverted axis bug reintroduced

Post by Yeray » Mon Aug 30, 2010 8:38 am

Hi TEh,

You are right. I could reproduce it and I've added it to the defect list to be fixed in future releases (TF02015124).
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Yeray
Site Admin
Site Admin
Posts: 9613
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Colorgrid inverted axis bug reintroduced

Post by Yeray » Thu Sep 16, 2010 11:26 am

Hi TEh,

The bug with number [TF02015111] has been fixed so it will be available in the next maintenance release.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply