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
Colorgrid inverted axis bug reintroduced
Re: Colorgrid inverted axis bug reintroduced
Hi,
The bug number TF02013651 says that with the code below the grid is drawn out of the ChartRect:
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
and scroll down the chart, I can see a strange black zone. Is that what you meant?
I've added it to the defect list to be fixed in future releases (TF02015111)
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);
}
}
However, if I comment the line
Code: Select all
tChart1.Axes.Left.Inverted = true;
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Colorgrid inverted axis bug reintroduced
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
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
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)
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
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).
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,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Colorgrid inverted axis bug reintroduced
Hi TEh,
The bug with number [TF02015111] has been fixed so it will be available in the next maintenance release.
The bug with number [TF02015111] has been fixed so it will be available in the next maintenance release.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |