Download Jar. Libraryless. Click here for Pure Java version (5899L/39K).
!7 p-awt { new L<Double> scores; new Random random; int maxDataPoints = 40; double maxScore = 10; for i to maxDataPoints: scores.add(random(maxScore)); //scores.add((double) i); GraphPanel mainPanel = new GraphPanel(scores); mainPanel.setPreferredSize(new Dimension(800, 600)); showCenterPackedFrame("DrawGraph", mainPanel); }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1013397 |
Snippet name: | Test GraphPanel [OK] |
Eternal ID of this version: | #1013397/3 |
Text MD5: | adf1ef9a23fd918067b694c88ea1c2eb |
Transpilation MD5: | a371e422f1dfac3546d06a70459d1fcc |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX source code (desktop) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-01-05 01:29:41 |
Source code size: | 361 bytes / 14 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 644 / 1373 |
Version history: | 2 change(s) |
Referenced in: | [show references] |