com.vaadin.flow.component.charts.model.TickmarkPlacement 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;
/**
* For categorized axes only. If ON the tick mark is placed in the center of the
* category, if BETWEEN the tick mark is placed between categories. Defaults to
* BETWEEN.
*/
public enum TickmarkPlacement implements ChartEnum {
ON("on"), BETWEEN("between");
private final String tickmarkPlacement;
private TickmarkPlacement(String tickmarkPlacement) {
this.tickmarkPlacement = tickmarkPlacement;
}
@Override
public String toString() {
return tickmarkPlacement;
}
}