com.vaadin.flow.component.charts.model.DashStyle 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;
/**
* Dash styles used to render lines.
*
* Visually they look like this:
*
*
*/
public enum DashStyle implements ChartEnum {
SOLID("Solid"), SHORTDASH("ShortDash"), SHORTDOT("ShortDot"), SHORTDASHDOT(
"ShortDashDot"), SHORTDASHDOTDOT("ShortDashDotDot"), DOT(
"Dot"), DASH("Dash"), LONGDASH("LongDash"), DASHDOT(
"DashDot"), LONGDASHDOT(
"LongDashDot"), LONGDASHDOTDOT(
"LongDashDotDot");
private final String type;
private DashStyle(String type) {
this.type = type;
}
@Override
public String toString() {
return type;
}
}