code: def stacked_graph(labels, data, normal_data, len_categories, args, colors):
      
      val_min = find_min(data)
  
      for i in range(len(labels)):
          if args['no_labels']:
              # Hide the labels.
              label = ''
          else:
              label = "{:<{x}}: ".format(labels[i],
                                         x=find_max_label_length(labels))
  
          print(label, end="")
          values = data[i]
          num_blocks = normal_data[i]
  
          for j in range(len(values)):
              print_row(values[j], int(num_blocks[j]), val_min, colors[j])
  
          tail = ' {}{}'.format(args['format'].format(sum(values)),
                                args['suffix'])
          print(tail)
docs: Prepare the horizontal stacked graph.
         Each row is printed through the print_row function.