Uses 0K of libraries. Click here for Pure Java version (4471L/29K).
1 | !7 |
2 | |
3 | lib 1400104 // XChart |
4 | |
5 | import org.knowm.xchart.*; |
6 | |
7 | sclass XChartTest > DynModule {
|
8 | JComponent visualize() {
|
9 | double[] xData = new double[] { 0.0, 1.0, 2.0 };
|
10 | double[] yData = new double[] { 2.0, 1.0, 0.0 };
|
11 | XYChart chart = QuickChart.getChart("Sample Chart", "X", "Y", "y(x)", xData, yData);
|
12 | ret new XChartPanel(chart); |
13 | } |
14 | } |
Began life as a copy of #1016876
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1016877 |
| Snippet name: | XChart Test [Dyn Module, OK] |
| Eternal ID of this version: | #1016877/2 |
| Text MD5: | e03ef2ca235546087778759f5d791a0d |
| Transpilation MD5: | a0c77be31cdd69a930feebce4521852e |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX source code (Dynamic Module) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-07-06 14:34:51 |
| Source code size: | 359 bytes / 14 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 736 / 1058 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |