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

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

/**
 * In Highcharts 1.0, the appearance of all markers belonging to the hovered
 * series. For settings on the hover state of the individual point, see marker.states.hover.
 */
@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 Marker extends AbstractConfigurationObject {

	private Boolean enabled;
	private Number height;
	private Number radius;
	private States states;
	private Number width;
	private MarkerSymbol symbol;

	public Marker() {
	}

	public Marker(Boolean enabled) {
		this.enabled = enabled;
	}

	/**
	 * @see #setEnabled(Boolean)
	 */
	public Boolean getEnabled() {
		return enabled;
	}

	/**
	 * Enable or disable the point marker. If null, the markers are
	 * hidden when the data is dense, and shown for more widespread data points.
	 * 

* Defaults to: null */ public void setEnabled(Boolean enabled) { this.enabled = enabled; } /** * @see #setHeight(Number) */ public Number getHeight() { return height; } /** * Image markers only. Set the image width explicitly. When using this * option, a width must also be set. *

* Defaults to: null */ public void setHeight(Number height) { this.height = height; } /** * @see #setRadius(Number) */ public Number getRadius() { return radius; } /** * The radius of the point marker. *

* Defaults to: 4 */ public void setRadius(Number radius) { this.radius = radius; } /** * @see #setStates(States) */ public States getStates() { if (states == null) { states = new States(); } return states; } public void setStates(States states) { this.states = states; } /** * @see #setWidth(Number) */ public Number getWidth() { return width; } /** * Image markers only. Set the image width explicitly. When using this * option, a height must also be set. *

* Defaults to: null */ public void setWidth(Number width) { this.width = width; } /** * @see #setSymbol(MarkerSymbol) */ public MarkerSymbol getSymbol() { return symbol; } public void setSymbol(MarkerSymbol symbol) { this.symbol = symbol; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy