Page 1 of 1
Colorgrid inverted axis bug reintroduced
Posted: Wed Aug 25, 2010 5:46 am
by 16055146
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
Re: Colorgrid inverted axis bug reintroduced
Posted: Thu Aug 26, 2010 2:41 pm
by yeray
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 (51.51 KiB) Viewed 5592 times
I've added it to the defect list to be fixed in future releases (TF02015111)
Re: Colorgrid inverted axis bug reintroduced
Posted: Fri Aug 27, 2010 5:41 am
by 16055146
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
Re: Colorgrid inverted axis bug reintroduced
Posted: Fri Aug 27, 2010 11:53 am
by 16055146
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)
Re: Colorgrid inverted axis bug reintroduced
Posted: Mon Aug 30, 2010 8:38 am
by yeray
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).
Re: Colorgrid inverted axis bug reintroduced
Posted: Thu Sep 16, 2010 11:26 am
by yeray
Hi TEh,
The bug with number [TF02015111] has been fixed so it will be available in the next maintenance release.