List of usage examples for org.jfree.chart ChartFactory createLineChart3D
public static JFreeChart createLineChart3D(String title, String categoryAxisLabel, String valueAxisLabel, CategoryDataset dataset)
From source file:my.estadistico.Grafica.java
private void jButton6ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton6ActionPerformed // TODO add your handling code here: try {/*from w w w. j a va 2s .c o m*/ this.datos();//Obtiene los datos JFreeChart chart = ChartFactory.createLineChart3D(null, null, null, dataset); CategoryPlot catPlot = chart.getCategoryPlot(); catPlot.setRangeGridlinePaint(Color.BLACK); this.mostrar(chart); } catch (Exception e) { JOptionPane.showMessageDialog(rootPane, "FAVOR DE INGRESAR DATOS"); } }