-
Notifications
You must be signed in to change notification settings - Fork 396
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' of https://github.com/knowm/XChart into develop
- Loading branch information
Showing
1 changed file
with
49 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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. |