}
@Override
- public void render( final double x1,
- final double y1,
+ public void render( final float x1,
+ final float y1,
final Graphics2D g,
final TreePanel tree_panel,
final boolean to_pdf ) {
final double width = ( double ) _width / _values.size();
for( int i = 0; i < _values.size(); ++i ) {
g.setColor( calculateColor( _values.get( i ) ) );
- _rectangle.setFrame( start + ( i * width ), y - 0.5, width, getRenderingHeight() );
+ _rectangle.setFrame( start + ( i * width ), y - 0.5, width + 1, getRenderingHeight() );
g.fill( _rectangle );
}
}
}
@Override
- public void setRenderingHeight( final double height ) {
+ public void setRenderingHeight( final float height ) {
_height = height;
}