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

com.vaadin.flow.component.charts.ChartVariant 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;

/**
 * Set of theme variants applicable for {@code vaadin-chart} component.
 */
public enum ChartVariant {
    LUMO_GRADIENT("gradient"), LUMO_MONOTONE("monotone"), LUMO_CLASSIC(
            "classic"), MATERIAL_GRADIENT("gradient"), MATERIAL_MONOTONE(
                    "monotone"), MATERIAL_CLASSIC("classic");

    private final String variant;

    ChartVariant(String variant) {
        this.variant = variant;
    }

    /**
     * Gets the variant name.
     *
     * @return variant name
     */
    public String getVariantName() {
        return variant;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy