key.setText( text );
key.setColour( getColor( col ) );
sbc.addKeys( key );
for ( int row = 0; row < getRowCount(); row++ ) {
Stack stack = null;
if ( sbc.getStackCount() > row ) {
stack = sbc.stack( row );
} else {
stack = sbc.newStack();
}
double d = ( (Number) getValueAt( row, col ) ).doubleValue();
stack.addStackValues( new StackValue( d, getColor( col ) ) );
}
return sbc;
}