From b629663308276915fa5fbc7f6a6c5215588f4353 Mon Sep 17 00:00:00 2001 From: Tim Molter Date: Fri, 10 May 2024 13:31:59 -0600 Subject: [PATCH] Update issue templates --- .github/ISSUE_TEMPLATE/bug_report.md | 49 ++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.md diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 000000000..548f06c57 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,49 @@ +--- +name: Bug report +about: Create a report to help us improve +title: '' +labels: '' +assignees: '' + +--- + +**Describe the bug** +A clear and concise description of what the bug is. + +**To Reproduce** +Please make a code snippet demonstrating the bug using the following sample chart code: +``` +public class TestForIssue834 { + + 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("Buggy 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; + } +} +``` + +**Screenshots** +Add screenshots to help explain your problem. + + +**Expected behavior** +A clear and concise description of what you expected to happen.