com.vaadin.flow.component.charts.model.ResetZoomButtonRelativeTo 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;
/**
* What frame the button should be placed related to. Can be either "plot" or
* "chart". Defaults to plot.
*/
public enum ResetZoomButtonRelativeTo implements ChartEnum {
PLOT("plot"), CHART("chart");
ResetZoomButtonRelativeTo(String frame) {
this.frame = frame;
}
private String frame;
@Override
public String toString() {
return frame;
}
}