Repository Details
Shared by
HelloGitHub Rating
0 ratings
用于绘制数据的轻量级 Java 库
Past 7 days Received 1 stars ✨
Use arrow keys to explore dates, Home and End for the first and last date, Escape to dismiss.| Date | Star | Daily change |
|---|---|---|
| 周二 | 1,597 | — |
| 周三 | 1,598 | +1 |
| 周四 | 1,598 | 0 |
| 周五 | 1,598 | 0 |
| 周六 | 1,598 | 0 |
| 周日 | 1,598 | 0 |
| 周一 | 1,598 | 0 |
1.6k
Stars
No
Chinese
Java
Language
Yes
Active
70
Contributors
48
Issues
Yes
Organization
None
Latest
400
Forks
Apache-2.0
License

用于绘制数据的轻量级 Java 库。示例代码:
```java
double[] xData = new double[] { 0.0, 1.0, 2.0 };
double[] yData = new double[] { 2.0, 1.0, 0.0 };
// Create Chart
XYChart chart = QuickChart.getChart("Sample Chart", "X", "Y", "y(x)", xData, yData);
// Show it
new SwingWrapper(chart).displayChart();
// Save it
BitmapEncoder.saveBitmap(chart, "./Sample_Chart", BitmapFormat.PNG);
// or save it in high-res
BitmapEncoder.saveBitmapWithDPI(chart, "./Sample_Chart_300_DPI", BitmapFormat.PNG, 300);
```
Included in:
Vol.31
Comments
Rating:
No comments yet