Example usage for org.jfree.chart ChartFactory createLineChart3D

List of usage examples for org.jfree.chart ChartFactory createLineChart3D

Introduction

In this page you can find the example usage for org.jfree.chart ChartFactory createLineChart3D.

Prototype

public static JFreeChart createLineChart3D(String title, String categoryAxisLabel, String valueAxisLabel,
        CategoryDataset dataset) 

Source Link

Document

Creates a line chart with default settings.

Usage

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");
    }
}