package nl.jorritvdven.smartermeter.http;

public class ChartSeries
{
    private final String y;
    private final String label;
    private final String color;
    private final String type;

    public ChartSeries(String y, String label, String color, String type)
    {
        this.y = y;
        this.label = label;
        this.color = color;
        this.type = type;
    }

    public String getY()
    {
        return y;
    }

    public String getLabel()
    {
        return label;
    }

    public String getColor()
    {
        return color;
    }

    public String getType()
    {
        return type;
    }

    public static final ChartSeries kwhLowSeries()
    {
        return new ChartSeries("rateLow", "Laagtarief", "#5cb85c", "column");
    }

    public static final ChartSeries kwhHighSeries()
    {
        return new ChartSeries("rateHigh", "Hoogtarief", "#d9534f", "column");
    }

    public static final ChartSeries gasSeries()
    {
        return new ChartSeries("gas", "Gas", "#f0ad4e", "column");
    }
}
