Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

14
LINES

< > BotCompany Repo | #1016876 // Test XChart (OK)

JavaX source code (desktop) [tags: use-pretranspiled] - run with: x30.jar

Download Jar. Uses 0K of libraries. Click here for Pure Java version (41L/1K).

!7

lib 1400104 // XChart

import org.knowm.xchart.*;

p {
  double[] xData = new double[] { 0.0, 1.0, 2.0 };
  double[] yData = new double[] { 2.0, 1.0, 0.0 };

  XYChart chart = QuickChart.getChart("Sample Chart", "X", "Y", "y(x)", xData, yData);

  new SwingWrapper(chart).displayChart();
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1016876
Snippet name: Test XChart (OK)
Eternal ID of this version: #1016876/2
Text MD5: 080bcb4f053ef4a9c7eaf68afbb759dc
Transpilation MD5: f4026fb57e4d5382a67e12005b4e197e
Author: stefan
Category: javax
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-07-06 14:30:47
Source code size: 306 bytes / 14 lines
Pitched / IR pitched: No / No
Views / Downloads: 416 / 882
Version history: 1 change(s)
Referenced in: [show references]