Package net.sf.jasperreports.charts.design

Examples of net.sf.jasperreports.charts.design.JRDesignGanttDataset


      case CHART_TYPE_STACKEDAREA:
        dataset = new JRDesignCategoryDataset(dataset);
        plot = new JRDesignAreaPlot(plot, this);
        break;
      case CHART_TYPE_GANTT:
        dataset = new JRDesignGanttDataset(dataset);
        plot = new JRDesignBarPlot(plot, this);
        break;
      default:
        throw new JRRuntimeException("Chart type not supported.");
    }
View Full Code Here


   */
  public Object createObject(Attributes atts)
  {
    JRDesignChart chart = (JRDesignChart) digester.peek();

    JRDesignGanttDataset dataset = null;

    if( chart.getDataset() == null ){
      dataset = new JRDesignGanttDataset( chart.getDataset() );
    }
    else {
      dataset = (JRDesignGanttDataset)chart.getDataset();
    }

View Full Code Here

TOP

Related Classes of net.sf.jasperreports.charts.design.JRDesignGanttDataset

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.