@@ -0,0 +1,2374 @@
+package org.knowm.xchart.standalone.issues;%0A%0Aimport java.awt.Color;%0Aimport java.util.LinkedList;%0Aimport java.util.List;%0Aimport java.util.Random;%0A%0Aimport org.knowm.xchart.SwingWrapper;%0Aimport org.knowm.xchart.XYChart;%0Aimport org.knowm.xchart.XYChartBuilder;%0Aimport org.knowm.xchart.XYSeries;%0Aimport org.knowm.xchart.style.Styler;%0Aimport org.knowm.xchart.style.lines.SeriesLines;%0Aimport org.knowm.xchart.style.markers.Marker;%0Aimport org.knowm.xchart.style.markers.SeriesMarkers;%0A%0A/**%0A * Created by timmolter on 5/1/17.%0A */%0Apublic class TestForIssue181 %7B%0A%0A  public static void main(String%5B%5D args) %7B%0A%0A    // Create Chart%0A    XYChart chart = new XYChartBuilder()%0A        .width(500)%0A        .height(350)%0A        .theme(Styler.ChartTheme.Matlab)%0A        .build();%0A%0A    // Series%0A    List%3CDouble%3E xData = new LinkedList%3CDouble%3E();%0A    List%3CDouble%3E yData = new LinkedList%3CDouble%3E();%0A%0A    Random random = new Random();%0A    int size = 1000;%0A    for (int i = 0; i %3C size; i++) %7B%0A      xData.add(5 * random.nextGaussian());%0A      yData.add(5 * random.nextGaussian());%0A    %7D%0A    chart.addSeries(%22Gaussian Blob%22, xData, yData);%0A%0A    XYSeries vertical = chart.addSeries(%22vertical%22, new double%5B%5D%7B5, 5%7D, new double%5B%5D%7B0, 10%7D);%0A    vertical.setShowInLegend(false);%0A    vertical.setXYSeriesRenderStyle(XYSeries.XYSeriesRenderStyle.Line);%0A    vertical.setLineStyle(SeriesLines.SOLID);%0A    XYSeries horizontal = chart.addSeries(%22horizontal%22, new double%5B%5D%7B0, 10%7D, new double%5B%5D%7B5, 5%7D);%0A    horizontal.setShowInLegend(false);%0A    horizontal.setXYSeriesRenderStyle(XYSeries.XYSeriesRenderStyle.Line);%0A    horizontal.setLineStyle(SeriesLines.SOLID);%0A%0A    // Customize Chart%0A    Marker%5B%5D markers = %7BSeriesMarkers.SQUARE, SeriesMarkers.SQUARE, SeriesMarkers.DIAMOND, SeriesMarkers.DIAMOND%7D;%0A    Color%5B%5D colors = %7BColor.GRAY, Color.BLUE, Color.RED, Color.RED%7D;%0A%0A    chart.getStyler().setDefaultSeriesRenderStyle(XYSeries.XYSeriesRenderStyle.Scatter);%0A    chart.getStyler().setLegendPosition(Styler.LegendPosition.OutsideE);%0A    chart.getStyler().setMarkerSize(5);%0A    chart.getStyler().setAxisTicksVisible(false);%0A    chart.getStyler().setXAxisMin(0.0);%0A    chart.getStyler().setYAxisMin(0.0);%0A    chart.getStyler().setSeriesMarkers(markers);%0A    chart.getStyler().setSeriesColors(colors);%0A    chart.getStyler().setPlotGridLinesVisible(false);%0A%0A    new SwingWrapper%3CXYChart%3E(chart).displayChart();%0A  %7D%0A%7D%0A

test class for issue #181