We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
private void testRenderStyle(XYSeriesRenderStyle renderStyle) { // Create Chart XYChart chart = new XYChartBuilder().build(); // Set default series render style chart.getStyler().setDefaultSeriesRenderStyle(renderStyle); // Add series XYSeries series = chart.addSeries("series1", new double[] {1, 2, 3}, new double[] {1, 2, 3}); // Verify the series render style assertNotEquals(renderStyle, series.getXYSeriesRenderStyle()); }
The text was updated successfully, but these errors were encountered:
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; } }
Sorry, something went wrong.
No branches or pull requests
The text was updated successfully, but these errors were encountered: