All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.vaadin.flow.component.charts.model.Compare Maven / Gradle / Ivy

There is a newer version: 24.5.4
Show newest version
/**
 * 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;

/**
 * The {@link YAxis} will show percentage or absolute change depending on
 * whether compare is set to {@link Compare#PERCENT} or {@link Compare#VALUE}
 */
public enum Compare implements ChartEnum {
    PERCENT("percent"), VALUE("value");

    private String compare;

    private Compare(String compare) {
        this.compare = compare;
    }

    @Override
    public String toString() {
        return compare;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy