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

com.vaadin.flow.component.charts.model.Pivot Maven / Gradle / Ivy

There is a newer version: 24.5.4
Show newest version
/**
 * 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;

import com.vaadin.flow.component.charts.model.style.Color;

/**
 * 

* Options for the pivot or the center point of the gauge. *

* *

* In * styled mode, the pivot is styled with the * .highcharts-gauge-series .highcharts-pivot rule. *

*/ public class Pivot extends AbstractConfigurationObject { private Color backgroundColor; private Color borderColor; private Number borderWidth; private Number radius; public Pivot() { } /** * @see #setBackgroundColor(Color) */ public Color getBackgroundColor() { return backgroundColor; } /** * The background color or fill of the pivot. *

* Defaults to: #000000 */ public void setBackgroundColor(Color backgroundColor) { this.backgroundColor = backgroundColor; } /** * @see #setBorderColor(Color) */ public Color getBorderColor() { return borderColor; } /** * The border or stroke color of the pivot. In able to change this, the * borderWidth must also be set to something other than the default 0. *

* Defaults to: #cccccc */ public void setBorderColor(Color borderColor) { this.borderColor = borderColor; } /** * @see #setBorderWidth(Number) */ public Number getBorderWidth() { return borderWidth; } /** * The border or stroke width of the pivot. *

* Defaults to: 0 */ public void setBorderWidth(Number borderWidth) { this.borderWidth = borderWidth; } /** * @see #setRadius(Number) */ public Number getRadius() { return radius; } /** * The pixel radius of the pivot. *

* Defaults to: 5 */ public void setRadius(Number radius) { this.radius = radius; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy