com.vaadin.flow.component.charts.model.Dimension 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;
/**
* Axial dimension.
*/
public enum Dimension implements ChartEnum {
X("x"), Y("y"), XY("xy");
private final String dimension;
private Dimension(String dimension) {
this.dimension = dimension;
}
@Override
public String toString() {
return dimension;
}
}