com.vaadin.flow.component.charts.model.HorizontalAlign Maven / Gradle / Ivy
/**
* Copyright 2000-2024 Vaadin Ltd.
*
* This program is available under Vaadin Commercial License and Service Terms.
*
* See {@literal } for the full
* license.
*/
package com.vaadin.flow.component.charts.model;
/**
* Alignment of the title relative to the axis values and more generically
* horizontal alignment. Possible values are RIGHT("right"), CENTER("center") or
* LEFT("left")
*/
public enum HorizontalAlign implements ChartEnum {
RIGHT("right"), CENTER("center"), LEFT("left");
private final String align;
private HorizontalAlign(String align) {
this.align = align;
}
@Override
public String toString() {
return align;
}
}