private void paintBars( Graphics2D g2d, float wb, int[] bottoms, int n, int[] x, int[] y, int s, int adj, boolean fill, Color[] colors) { if (_orientation==BarsView.Orientation.X1RIGHT_X2UP) paintBarsVertical(g2d,wb,bottoms,n,x,y,s,adj,fill,colors); else paintBarsHorizontal(g2d,wb,bottoms,n,x,y,s,adj,fill,colors); }