Java prog#69. How to add a Jfreechart Graph or Line chart to a panel in netbeans java

  Рет қаралды 48,781

ProgrammingKnowledge

ProgrammingKnowledge

Күн бұрын

Пікірлер: 7
@ProgrammingKnowledge
@ProgrammingKnowledge 12 жыл бұрын
see the next video ...Java prog#85. JFreeChart : Query (Sqlite,MySql) base charts I hope It will help u......
@rogal180
@rogal180 12 жыл бұрын
hi, Very good tutorials. I'd like to see how I can add the axes of the coordinate system because now I do line charts and it was nice to add them, may be an option for drawing the coordinate axes ? thanks
@litingluvsJjong
@litingluvsJjong 10 жыл бұрын
hi, can i display my graph on the page itself and keep it updated every time as the database changes rather then only able to show the graph by clicking on the button?
@TheSanto85
@TheSanto85 12 жыл бұрын
to ms ani you can use for lopp to insert the data in Jtable to database looks like you use one to many consept for the transaction that you process in your applications were you build
@anip2928
@anip2928 12 жыл бұрын
I am new to swings using netbeans ...doing project on erp...while doing the project i got a problem when am trying to save the jtable data into database... in the vedioes no-5& 9 u hve showed how to fetch data from database and in vedio no-9 u showd how to insert selected row data into textfield but what i need is entire data of jtable should be saved in database .....plese help me sir ..its urgent
@venetsiakrasteva9250
@venetsiakrasteva9250 2 жыл бұрын
Nice thank you! I was struggling to get my data from Database and get it onto the Chart but your video gave me an idea. For anyone having the same issues: DatabaseConnection connectionToDatabase = new DatabaseConnection(); Connection connection = connectionToDatabase.getConnetion(); // get database connection ArrayList years= null; // list for years (Stored in database as VarChar) ArrayList price = null; // list for price (stored as Int in database) try { // get data for years stored in list years = connectionToDatabase.GetYearsFromSharePrice(jTextFieldCompanyIDFieldChart.getText()); } catch (SQLException ex) { Logger.getLogger(ChartJFrame.class.getName()).log(Level.SEVERE, null, ex); } try { // get data for price stoed in List price = connectionToDatabase.GetPriceFromSharePrice(jTextFieldCompanyIDFieldChart.getText()); } catch (SQLException ex) { Logger.getLogger(ChartJFrame.class.getName()).log(Level.SEVERE, null, ex); } Collections.sort(years); // sort the X axis DefaultCategoryDataset dataset = new DefaultCategoryDataset(); for(int j = 0;j < years.size(); j++){ for(int i = 0; i < price.size(); i++) { dataset.setValue(new Integer(price.get(j)), String.valueOf(price.get(i)), years.get(j)); break; } } Full project: github.com/venetsia/DesktopShareTraderApp
@emmanuelb.8723
@emmanuelb.8723 10 жыл бұрын
PLEASE I badly need help with plotting WEIBULL line graph and determining the MTBF in sqlite. I will be very greatful for your help! Thanks in advance
Java prog#63. How to add a Jfreechart pie chart to a panel in netbeans java
13:02
1% vs 100% #beatbox #tiktok
01:10
BeatboxJCOP
Рет қаралды 67 МЛН
黑天使被操控了#short #angel #clown
00:40
Super Beauty team
Рет қаралды 61 МЛН
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 148 МЛН
Java prog#66. How to add a Jfreechart Bar chart to a panel in netbeans java
13:19
Multiple Panels in one Jframe
7:12
BTech Days
Рет қаралды 88 М.
Java prog#74. Reports : Itext :Getting started :Hello world Example
12:05
ProgrammingKnowledge
Рет қаралды 32 М.
Bar Chart | JFreeChart Part-2
9:42
PCODEP
Рет қаралды 1,8 М.
Agreement with the U.S. / Ukraine’s Statement on Ending the War
13:26
How to Open one JFrame from another in java Swing : JFrame Tutorial
6:03
Knowledge to Share
Рет қаралды 119 М.
NetBeans BarChart using JFreeCharts for JPANEL
7:33
Julfi Tutorials
Рет қаралды 29 М.
1% vs 100% #beatbox #tiktok
01:10
BeatboxJCOP
Рет қаралды 67 МЛН