com.github.highcharts4gwt.model.highcharts.option.mock.seriesgauge.MockPivot Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of highcharts Show documentation
Show all versions of highcharts Show documentation
GWT wrapper for highcharts library.
package com.github.highcharts4gwt.model.highcharts.option.mock.seriesgauge;
import com.github.highcharts4gwt.model.highcharts.option.api.seriesgauge.Pivot;
/**
* Options for the pivot or the center point of the gauge.
*
*/
public class MockPivot
implements Pivot
{
private String backgroundColor;
private String borderColor;
private double borderWidth;
private double radius;
private String genericField;
private String functionAsString;
public String backgroundColor() {
return backgroundColor;
}
public MockPivot backgroundColor(String backgroundColor) {
this.backgroundColor = backgroundColor;
return this;
}
public String borderColor() {
return borderColor;
}
public MockPivot borderColor(String borderColor) {
this.borderColor = borderColor;
return this;
}
public double borderWidth() {
return borderWidth;
}
public MockPivot borderWidth(double borderWidth) {
this.borderWidth = borderWidth;
return this;
}
public double radius() {
return radius;
}
public MockPivot radius(double radius) {
this.radius = radius;
return this;
}
public String getFieldAsJsonObject(String fieldName) {
return genericField;
}
public MockPivot setFieldAsJsonObject(String fieldName, String fieldValueAsJsonObject) {
this.genericField = fieldValueAsJsonObject;
return this;
}
public String getFunctionAsString(String fieldName) {
return functionAsString;
}
public MockPivot setFunctionAsString(String fieldName, String functionAsString) {
this.functionAsString = functionAsString;
return this;
}
}