Java Swing Chart Example - Graph Plotting In Java Swing Only Draws Points Stack Overflow