com.vaadin.flow.component.charts.model.ZoneAxis 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;
/**
* Defines the Axis on which the zones are applied.
*
* Defaults to y.
*/
public enum ZoneAxis implements ChartEnum {
X("x"), Y("y");
private final String axis;
private ZoneAxis(String axis) {
this.axis = axis;
}
@Override
public String toString() {
return axis;
}
}