if(values.length == 2)
super.imageChange(arg0);
else
{
//Display a incremental index instead of the data
JLDataView dvy = getY1Axis().getDataView(0);
// Test if the image is prefectly squared
if (values.length > 1 && (values[0].length == values[1].length))
{
int length = values[0].length;
dvy.reset();
int index=0;
for (int i = 0; i < length; i++)
{
for (int j = 0; j < values[i].length; j++)
{
//System.out.println("values["+j+"]["+ i + "] = " + values[j][i]);
dvy.add(index, values[j][i]);
index++;
}
}
// Commit change
repaint();