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


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

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

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

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

    public AASubtitle align(String prop) {
        align = prop;
        return this;
    }

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

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

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

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