How to make a diagram from arrays in java?
<p>My program needs to draw a diagram like this:</p>

<pre><code>    ---
    ---         xxx
    ---         xxx
+++ ---         xxx
+++ ---     ooo xxx
+++ ---     ooo xxx
+++ ---     ooo xxx
+++ --- *** ooo xxx
+++ --- *** ooo xxx
+++ --- *** ooo xxx
</code></pre>

<p>From this data: </p>

<pre><code>private static final int[] DATA = {15, 21, 7, 12, 18};

private static final int MAX_HEIGHT = 10;

private static final int COLUMN_WIDTH = 3;

private static final int SPACE_BETWEEN_COLUMNS = 2;

private static final char[] FILLER = {’+’, ’-’, ’*’, ’o’, ’x’};
</code></pre>

<p>I really need some guidlines on how to make it.</p>

<p>Thanks</p>
