com.vaadin.flow.component.charts.model.TreeMapLayoutStartingDirection 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;
/**
* The direction where the layout algorithm will start drawing. Applies to
* {@link ChartType#TREEMAP} charts.
*/
public enum TreeMapLayoutStartingDirection implements ChartEnum {
VERTICAL("vertical"), HORIZONTAL("horizontal");
private final String type;
TreeMapLayoutStartingDirection(String type) {
this.type = type;
}
@Override
public String toString() {
return type;
}
}