// Path: src/main/java/at/downdrown/vaadinaddons/highchartsapi/model/ChartType.java
// public enum ChartType implements HighchartsObject {
// 
//     AREA("area"),
//     AREARANGE("arearange"),
//     AREASPLINE("areaspline"),
//     AREASPLINERANGE("areasplinerange"),
//     BAR("bar"),
//     BOXPLOT("boxplot"),
//     BUBBLE("bubble"),
//     COLUMN("column"),
//     COLUMNRANGE("columnrange"),
//     ERRORBAR("errorbar"),
//     FUNNEL("funnel"),
//     GAUGE("gauge"),
//     HEATMAP("heatmap"),
//     LINE("line"),
//     PIE("pie"),
//     POLYGON("polygon"),
//     PYRAMID("pyramid"),
//     SCATTER("scatter"),
//     SOLIDGAUGE("solidgauge"),
//     SPLINE("spline"),
//     TREEMAP("treemap"),
//     WATERFALL("waterfall");
// 
//     private String highchartsvalue;
// 
//     ChartType(String highchartsvalue) {
//         this.highchartsvalue = highchartsvalue;
//     }
// 
//     public String getHighChartValue() {
//         return this.highchartsvalue;
//     }
// }
// 
// Path: src/main/java/at/downdrown/vaadinaddons/highchartsapi/model/data/HighChartsData.java
// public interface HighChartsData extends HighchartsObject {
// 
// }


import at.downdrown.vaadinaddons.highchartsapi.model.ChartType;
import at.downdrown.vaadinaddons.highchartsapi.model.data.HighChartsData;
import at.downdrown.vaadinaddons.highchartsapi.model.data.base.*;
import java.util.List;
package at.downdrown.vaadinaddons.highchartsapi.model.series;



/**
 * Projekt: VaadinHighChartsAPI<br>
 * Package: at.downdrown.vaadinaddons.highchartsapi.model.series<br>
 * Klasse: AreaSplineRangeChartSeries.class<br>
 * Erstellt am 21. August 2015.<br>
 * Copyright &copy; HSWE Allg. Applikationen.<br>
 * <br>
 *
 * @author Manfred Huber (02ub0j08)<br>
 */
public class ErrorBarChartSeries extends HighChartsSeriesImpl {

    public ErrorBarChartSeries(String name) {
        chartType = ChartType.ERRORBAR;
        this.name = name;
    }

    public ErrorBarChartSeries(String name, List<ErrorBarChartData> data) {
        chartType = ChartType.ERRORBAR;
        this.name = name;

        if (!data.isEmpty()) {
            for (ErrorBarChartData errorBarChartData : data) {
                this.data.add(errorBarChartData);
            }
        }
    }

    public void addData(ErrorBarChartData errorBarChartData) {
        this.data.add(errorBarChartData);
    }

    /**
     * @deprecated This method isn't implemented for this type.
     * Use {@link #addData(ErrorBarChartData)} instead.
     */
    @Deprecated
    @Override
// Path: src/main/java/at/downdrown/vaadinaddons/highchartsapi/model/ChartType.java
// public enum ChartType implements HighchartsObject {
// 
//     AREA("area"),
//     AREARANGE("arearange"),
//     AREASPLINE("areaspline"),
//     AREASPLINERANGE("areasplinerange"),
//     BAR("bar"),
//     BOXPLOT("boxplot"),
//     BUBBLE("bubble"),
//     COLUMN("column"),
//     COLUMNRANGE("columnrange"),
//     ERRORBAR("errorbar"),
//     FUNNEL("funnel"),
//     GAUGE("gauge"),
//     HEATMAP("heatmap"),
//     LINE("line"),
//     PIE("pie"),
//     POLYGON("polygon"),
//     PYRAMID("pyramid"),
//     SCATTER("scatter"),
//     SOLIDGAUGE("solidgauge"),
//     SPLINE("spline"),
//     TREEMAP("treemap"),
//     WATERFALL("waterfall");
// 
//     private String highchartsvalue;
// 
//     ChartType(String highchartsvalue) {
//         this.highchartsvalue = highchartsvalue;
//     }
// 
//     public String getHighChartValue() {
//         return this.highchartsvalue;
//     }
// }
// 
// Path: src/main/java/at/downdrown/vaadinaddons/highchartsapi/model/data/HighChartsData.java
// public interface HighChartsData extends HighchartsObject {
// 
// }


// Path: src/main/java/at/downdrown/vaadinaddons/highchartsapi/model/series/ErrorBarChartSeries.java
import at.downdrown.vaadinaddons.highchartsapi.model.ChartType;
import at.downdrown.vaadinaddons.highchartsapi.model.data.HighChartsData;
import at.downdrown.vaadinaddons.highchartsapi.model.data.base.*;
import java.util.List;

package at.downdrown.vaadinaddons.highchartsapi.model.series;



/**
 * Projekt: VaadinHighChartsAPI<br>
 * Package: at.downdrown.vaadinaddons.highchartsapi.model.series<br>
 * Klasse: AreaSplineRangeChartSeries.class<br>
 * Erstellt am 21. August 2015.<br>
 * Copyright &copy; HSWE Allg. Applikationen.<br>
 * <br>
 *
 * @author Manfred Huber (02ub0j08)<br>
 */
public class ErrorBarChartSeries extends HighChartsSeriesImpl {

    public ErrorBarChartSeries(String name) {
        chartType = ChartType.ERRORBAR;
        this.name = name;
    }

    public ErrorBarChartSeries(String name, List<ErrorBarChartData> data) {
        chartType = ChartType.ERRORBAR;
        this.name = name;

        if (!data.isEmpty()) {
            for (ErrorBarChartData errorBarChartData : data) {
                this.data.add(errorBarChartData);
            }
        }
    }

    public void addData(ErrorBarChartData errorBarChartData) {
        this.data.add(errorBarChartData);
    }

    /**
     * @deprecated This method isn't implemented for this type.
     * Use {@link #addData(ErrorBarChartData)} instead.
     */
    @Deprecated
    @Override
    public void addData(HighChartsData highChartsData) {