com.vaadin.flow.component.charts.model.Zones Maven / Gradle / Ivy
package com.vaadin.flow.component.charts.model;
/*-
* #%L
* Vaadin Charts for Flow
* %%
* Copyright (C) 2014 - 2018 Vaadin Ltd
* %%
* This program is available under Commercial Vaadin Add-On License 3.0
* (CVALv3).
*
* See the file licensing.txt distributed with this software for more
* information about licensing.
*
* You should have received a copy of the CVALv3 along with this program.
* If not, see .
* #L%
*/
import javax.annotation.Generated;
/**
*
* An array defining zones within a series. Zones can be applied to the X axis,
* Y axis or Z axis for bubbles, according to the zoneAxis
option.
*
*
*
* In styled mode, the color zones are styled with the
* .highcharts-zone-{n}
class, or custom classed from the
* className
option (view live demo).
*
*/
@Generated(value = "This class is generated and shouldn't be modified", comments = "Incorrect and missing API should be reported to https://github.com/vaadin/vaadin-charts-flow/issues/new")
public class Zones extends AbstractConfigurationObject {
private String className;
private Number value;
public Zones() {
}
/**
* @see #setClassName(String)
*/
public String getClassName() {
return className;
}
/**
* Styled mode only. A custom class name for the zone.
*/
public void setClassName(String className) {
this.className = className;
}
/**
* @see #setValue(Number)
*/
public Number getValue() {
return value;
}
/**
* The value up to where the zone extends, if undefined the zones stretches
* to the last value in the series.
*
* Defaults to: undefined
*/
public void setValue(Number value) {
this.value = value;
}
}