package com.gingersoft.gsa.cloud.ui.AAChartCoreLib.AAOptionsModel;


import com.gingersoft.gsa.cloud.ui.AAChartCoreLib.AAChartEnum.AAChartAlignType;
import com.gingersoft.gsa.cloud.ui.AAChartCoreLib.AAChartEnum.AAChartVerticalAlignType;

public class AATitle {
    public String text;
    public AAStyle style;
    public String align;
    public String verticalAlign;
    public Float x;
    public Float y;
    public Boolean userHTML;

    public AATitle text(String prop) {
        text = prop;
        return this;
    }

    public AATitle style(AAStyle prop) {
        style = prop;
        return this;
    }

    public AATitle align(AAChartAlignType prop) {
        align = prop.toString();
        return this;
    }

    public AATitle verticalAlign(AAChartVerticalAlignType prop) {
        verticalAlign = prop.toString();
        return this;
    }

    public AATitle x(Float prop) {
        x = prop;
        return this;
    }

    public AATitle y(Float prop) {
        y = prop;
        return this;
    }

    public AATitle userHTML(Boolean prop) {
        userHTML = prop;
        return this;
    }
}
