Package br.com.digilabs.jqplot.chart

Source Code of br.com.digilabs.jqplot.chart.AreaChart

package br.com.digilabs.jqplot.chart;

import br.com.digilabs.jqplot.JqPlotResources;
import br.com.digilabs.jqplot.axis.XAxis;
import br.com.digilabs.jqplot.chart.data.ChartData;
import br.com.digilabs.jqplot.chart.elements.SeriesDefaults;

/**
*
* @author inaiat
*/
public class AreaChart<T extends ChartData<?>> extends DefaultChart<T> {

    public AreaChart() {
        getChartConfiguration().setStackSeries(true);
        getChartConfiguration().setShowMarker(false);
        SeriesDefaults defaults = new SeriesDefaults();
        defaults.setFill(true);
        setSeriesDefaults(defaults);       
        XAxis xAxis = createXAxis();
        xAxis.setRenderer(JqPlotResources.CategoryAxisRenderer);
    }   
   
}
TOP

Related Classes of br.com.digilabs.jqplot.chart.AreaChart

TOP
Copyright © 2018 www.massapi.com. 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.