see the next video ...Java prog#85. JFreeChart : Query (Sqlite,MySql) base charts I hope It will help u......
@rogal18012 жыл бұрын
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
@litingluvsJjong10 жыл бұрын
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?
@TheSanto8512 жыл бұрын
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
@anip292812 жыл бұрын
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
@venetsiakrasteva92502 жыл бұрын
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.872310 жыл бұрын
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