Open yanlzhl opened 2 months ago
please post a fully working isolated code example. You could use this as a start:
public class TestForIssue849 {
public static void main(String[] args) throws ParseException {
XYChart chart = getXYChart();
new SwingWrapper(chart).displayChart();
}
public static XYChart getXYChart() {
XYChart chart =
new XYChartBuilder()
.width(720)
.height(480)
.title("getXYSeriesRenderStyle Example")
.xAxisTitle("Count")
.yAxisTitle("Value")
.build();
double[] xValues = new double[] {1, 2, 3};
double[] yValues = new double[] {1, 2, 3};
chart.addSeries("main", xValues, yValues);
return chart;
}
}