ColorGrid: index out of bound exception
Posted: Tue Apr 22, 2008 12:48 pm
Hi, Narcis
I have the following problem with the colorgrid. In my project, I have three webcharts, each containing a colorgrid serie. When the web page is loaded, the main colorgrid is shown nicely in the center of the screen. After capturing a clickSerie event on that grid, I need to show the two other colorgrids. When trying to do so, I got an index out of bounds exception, which occurs outside the scope of my source code.
Since the structure of the page is rather complex, I have tried to reproduce this behaviour using a simple, seperate project, which I have uploaded on your upload page (it's called 'ColorGridTest.rar'). Here, I get the same error after drawing a line which has its begin point inside the area of the colorgrid, and its end point outside the area, but with its y-coordinate below the maximum z-coordiante of the colorgrid. Only in this way, I get the error message (you can try different combinations by switching the different possibilities in the source code, they will not cause any exception).
Please note that this is not completely in line with the original project structure. Originaly, I draw the main colorgrid, capture a click event on this colorgrid, fill the flat arrays with data and try to draw the two other colorgrids. This results in the uncatchable exception.
Since this is blocking my progress of the project completely, I would like to add that this has a high priority for us, much more than the issues I have described in the other forum topic.
With kind regards,
Yves Bourgeois
I have the following problem with the colorgrid. In my project, I have three webcharts, each containing a colorgrid serie. When the web page is loaded, the main colorgrid is shown nicely in the center of the screen. After capturing a clickSerie event on that grid, I need to show the two other colorgrids. When trying to do so, I got an index out of bounds exception, which occurs outside the scope of my source code.
Since the structure of the page is rather complex, I have tried to reproduce this behaviour using a simple, seperate project, which I have uploaded on your upload page (it's called 'ColorGridTest.rar'). Here, I get the same error after drawing a line which has its begin point inside the area of the colorgrid, and its end point outside the area, but with its y-coordinate below the maximum z-coordiante of the colorgrid. Only in this way, I get the error message (you can try different combinations by switching the different possibilities in the source code, they will not cause any exception).
Please note that this is not completely in line with the original project structure. Originaly, I draw the main colorgrid, capture a click event on this colorgrid, fill the flat arrays with data and try to draw the two other colorgrids. This results in the uncatchable exception.
Since this is blocking my progress of the project completely, I would like to add that this has a high priority for us, much more than the issues I have described in the other forum topic.
With kind regards,
Yves Bourgeois