com.vaadin.flow.component.charts.model.Cursor 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;
/**
* You can set the cursor to POINTER("pointer") if you have click events
* attached to the series, to signal to the user that the points and lines can
* be clicked. Defaults to NONE.
*/
public enum Cursor implements ChartEnum {
POINTER("pointer"), NONE("");
private String cursor;
private Cursor(String cursor) {
this.cursor = cursor;
}
public String toString() {
return cursor;
}
}