
com.influxdb.client.domain.XYViewProperties Maven / Gradle / Ivy
/*
* InfluxDB OSS API Service
* The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint.
*
* OpenAPI spec version: 2.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.influxdb.client.domain;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.influxdb.client.domain.Axes;
import com.influxdb.client.domain.DashboardColor;
import com.influxdb.client.domain.DashboardQuery;
import com.influxdb.client.domain.StaticLegend;
import com.influxdb.client.domain.XYGeom;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/**
* XYViewProperties
*/
public class XYViewProperties extends ViewProperties {
public static final String SERIALIZED_NAME_TIME_FORMAT = "timeFormat";
@SerializedName(SERIALIZED_NAME_TIME_FORMAT)
private String timeFormat;
/**
* Gets or Sets type
*/
@JsonAdapter(TypeEnum.Adapter.class)
public enum TypeEnum {
XY("xy");
private String value;
TypeEnum(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static TypeEnum fromValue(String text) {
for (TypeEnum b : TypeEnum.values()) {
if (String.valueOf(b.value).equals(text)) {
return b;
}
}
return null;
}
public static class Adapter extends TypeAdapter {
@Override
public void write(final JsonWriter jsonWriter, final TypeEnum enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public TypeEnum read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return TypeEnum.fromValue(String.valueOf(value));
}
}
}
public static final String SERIALIZED_NAME_TYPE = "type";
@SerializedName(SERIALIZED_NAME_TYPE)
private TypeEnum type = TypeEnum.XY;
public static final String SERIALIZED_NAME_QUERIES = "queries";
@SerializedName(SERIALIZED_NAME_QUERIES)
private List queries = new ArrayList<>();
public static final String SERIALIZED_NAME_COLORS = "colors";
@SerializedName(SERIALIZED_NAME_COLORS)
private List colors = new ArrayList<>();
public static final String SERIALIZED_NAME_COLOR_MAPPING = "colorMapping";
@SerializedName(SERIALIZED_NAME_COLOR_MAPPING)
private Map colorMapping = new HashMap<>();
/**
* Gets or Sets shape
*/
@JsonAdapter(ShapeEnum.Adapter.class)
public enum ShapeEnum {
CHRONOGRAF_V2("chronograf-v2");
private String value;
ShapeEnum(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static ShapeEnum fromValue(String text) {
for (ShapeEnum b : ShapeEnum.values()) {
if (String.valueOf(b.value).equals(text)) {
return b;
}
}
return null;
}
public static class Adapter extends TypeAdapter {
@Override
public void write(final JsonWriter jsonWriter, final ShapeEnum enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public ShapeEnum read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return ShapeEnum.fromValue(String.valueOf(value));
}
}
}
public static final String SERIALIZED_NAME_SHAPE = "shape";
@SerializedName(SERIALIZED_NAME_SHAPE)
private ShapeEnum shape = ShapeEnum.CHRONOGRAF_V2;
public static final String SERIALIZED_NAME_NOTE = "note";
@SerializedName(SERIALIZED_NAME_NOTE)
private String note;
public static final String SERIALIZED_NAME_SHOW_NOTE_WHEN_EMPTY = "showNoteWhenEmpty";
@SerializedName(SERIALIZED_NAME_SHOW_NOTE_WHEN_EMPTY)
private Boolean showNoteWhenEmpty;
public static final String SERIALIZED_NAME_AXES = "axes";
@SerializedName(SERIALIZED_NAME_AXES)
private Axes axes = null;
public static final String SERIALIZED_NAME_STATIC_LEGEND = "staticLegend";
@SerializedName(SERIALIZED_NAME_STATIC_LEGEND)
private StaticLegend staticLegend = null;
public static final String SERIALIZED_NAME_X_COLUMN = "xColumn";
@SerializedName(SERIALIZED_NAME_X_COLUMN)
private String xColumn;
public static final String SERIALIZED_NAME_GENERATE_X_AXIS_TICKS = "generateXAxisTicks";
@SerializedName(SERIALIZED_NAME_GENERATE_X_AXIS_TICKS)
private List generateXAxisTicks = new ArrayList<>();
public static final String SERIALIZED_NAME_X_TOTAL_TICKS = "xTotalTicks";
@SerializedName(SERIALIZED_NAME_X_TOTAL_TICKS)
private Integer xTotalTicks;
public static final String SERIALIZED_NAME_X_TICK_START = "xTickStart";
@SerializedName(SERIALIZED_NAME_X_TICK_START)
private Float xTickStart;
public static final String SERIALIZED_NAME_X_TICK_STEP = "xTickStep";
@SerializedName(SERIALIZED_NAME_X_TICK_STEP)
private Float xTickStep;
public static final String SERIALIZED_NAME_Y_COLUMN = "yColumn";
@SerializedName(SERIALIZED_NAME_Y_COLUMN)
private String yColumn;
public static final String SERIALIZED_NAME_GENERATE_Y_AXIS_TICKS = "generateYAxisTicks";
@SerializedName(SERIALIZED_NAME_GENERATE_Y_AXIS_TICKS)
private List generateYAxisTicks = new ArrayList<>();
public static final String SERIALIZED_NAME_Y_TOTAL_TICKS = "yTotalTicks";
@SerializedName(SERIALIZED_NAME_Y_TOTAL_TICKS)
private Integer yTotalTicks;
public static final String SERIALIZED_NAME_Y_TICK_START = "yTickStart";
@SerializedName(SERIALIZED_NAME_Y_TICK_START)
private Float yTickStart;
public static final String SERIALIZED_NAME_Y_TICK_STEP = "yTickStep";
@SerializedName(SERIALIZED_NAME_Y_TICK_STEP)
private Float yTickStep;
public static final String SERIALIZED_NAME_SHADE_BELOW = "shadeBelow";
@SerializedName(SERIALIZED_NAME_SHADE_BELOW)
private Boolean shadeBelow;
/**
* Gets or Sets hoverDimension
*/
@JsonAdapter(HoverDimensionEnum.Adapter.class)
public enum HoverDimensionEnum {
AUTO("auto"),
X("x"),
Y("y"),
XY("xy");
private String value;
HoverDimensionEnum(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static HoverDimensionEnum fromValue(String text) {
for (HoverDimensionEnum b : HoverDimensionEnum.values()) {
if (String.valueOf(b.value).equals(text)) {
return b;
}
}
return null;
}
public static class Adapter extends TypeAdapter {
@Override
public void write(final JsonWriter jsonWriter, final HoverDimensionEnum enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public HoverDimensionEnum read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return HoverDimensionEnum.fromValue(String.valueOf(value));
}
}
}
public static final String SERIALIZED_NAME_HOVER_DIMENSION = "hoverDimension";
@SerializedName(SERIALIZED_NAME_HOVER_DIMENSION)
private HoverDimensionEnum hoverDimension;
/**
* Gets or Sets position
*/
@JsonAdapter(PositionEnum.Adapter.class)
public enum PositionEnum {
OVERLAID("overlaid"),
STACKED("stacked");
private String value;
PositionEnum(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static PositionEnum fromValue(String text) {
for (PositionEnum b : PositionEnum.values()) {
if (String.valueOf(b.value).equals(text)) {
return b;
}
}
return null;
}
public static class Adapter extends TypeAdapter {
@Override
public void write(final JsonWriter jsonWriter, final PositionEnum enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public PositionEnum read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return PositionEnum.fromValue(String.valueOf(value));
}
}
}
public static final String SERIALIZED_NAME_POSITION = "position";
@SerializedName(SERIALIZED_NAME_POSITION)
private PositionEnum position;
public static final String SERIALIZED_NAME_GEOM = "geom";
@SerializedName(SERIALIZED_NAME_GEOM)
private XYGeom geom = null;
public static final String SERIALIZED_NAME_LEGEND_COLORIZE_ROWS = "legendColorizeRows";
@SerializedName(SERIALIZED_NAME_LEGEND_COLORIZE_ROWS)
private Boolean legendColorizeRows;
public static final String SERIALIZED_NAME_LEGEND_HIDE = "legendHide";
@SerializedName(SERIALIZED_NAME_LEGEND_HIDE)
private Boolean legendHide;
public static final String SERIALIZED_NAME_LEGEND_OPACITY = "legendOpacity";
@SerializedName(SERIALIZED_NAME_LEGEND_OPACITY)
private Float legendOpacity;
public static final String SERIALIZED_NAME_LEGEND_ORIENTATION_THRESHOLD = "legendOrientationThreshold";
@SerializedName(SERIALIZED_NAME_LEGEND_ORIENTATION_THRESHOLD)
private Integer legendOrientationThreshold;
public XYViewProperties timeFormat(String timeFormat) {
this.timeFormat = timeFormat;
return this;
}
/**
* Get timeFormat
* @return timeFormat
**/
public String getTimeFormat() {
return timeFormat;
}
public void setTimeFormat(String timeFormat) {
this.timeFormat = timeFormat;
}
/**
* Get type
* @return type
**/
public TypeEnum getType() {
return type;
}
public XYViewProperties queries(List queries) {
this.queries = queries;
return this;
}
public XYViewProperties addQueriesItem(DashboardQuery queriesItem) {
this.queries.add(queriesItem);
return this;
}
/**
* Get queries
* @return queries
**/
public List getQueries() {
return queries;
}
public void setQueries(List queries) {
this.queries = queries;
}
public XYViewProperties colors(List colors) {
this.colors = colors;
return this;
}
public XYViewProperties addColorsItem(DashboardColor colorsItem) {
this.colors.add(colorsItem);
return this;
}
/**
* Colors define color encoding of data into a visualization
* @return colors
**/
public List getColors() {
return colors;
}
public void setColors(List colors) {
this.colors = colors;
}
public XYViewProperties colorMapping(Map colorMapping) {
this.colorMapping = colorMapping;
return this;
}
public XYViewProperties putColorMappingItem(String key, String colorMappingItem) {
if (this.colorMapping == null) {
this.colorMapping = new HashMap<>();
}
this.colorMapping.put(key, colorMappingItem);
return this;
}
/**
* A color mapping is an object that maps time series data to a UI color scheme to allow the UI to render graphs consistent colors across reloads.
* @return colorMapping
**/
public Map getColorMapping() {
return colorMapping;
}
public void setColorMapping(Map colorMapping) {
this.colorMapping = colorMapping;
}
/**
* Get shape
* @return shape
**/
public ShapeEnum getShape() {
return shape;
}
public XYViewProperties note(String note) {
this.note = note;
return this;
}
/**
* Get note
* @return note
**/
public String getNote() {
return note;
}
public void setNote(String note) {
this.note = note;
}
public XYViewProperties showNoteWhenEmpty(Boolean showNoteWhenEmpty) {
this.showNoteWhenEmpty = showNoteWhenEmpty;
return this;
}
/**
* If true, will display note when empty
* @return showNoteWhenEmpty
**/
public Boolean getShowNoteWhenEmpty() {
return showNoteWhenEmpty;
}
public void setShowNoteWhenEmpty(Boolean showNoteWhenEmpty) {
this.showNoteWhenEmpty = showNoteWhenEmpty;
}
public XYViewProperties axes(Axes axes) {
this.axes = axes;
return this;
}
/**
* Get axes
* @return axes
**/
public Axes getAxes() {
return axes;
}
public void setAxes(Axes axes) {
this.axes = axes;
}
public XYViewProperties staticLegend(StaticLegend staticLegend) {
this.staticLegend = staticLegend;
return this;
}
/**
* Get staticLegend
* @return staticLegend
**/
public StaticLegend getStaticLegend() {
return staticLegend;
}
public void setStaticLegend(StaticLegend staticLegend) {
this.staticLegend = staticLegend;
}
public XYViewProperties xColumn(String xColumn) {
this.xColumn = xColumn;
return this;
}
/**
* Get xColumn
* @return xColumn
**/
public String getXColumn() {
return xColumn;
}
public void setXColumn(String xColumn) {
this.xColumn = xColumn;
}
public XYViewProperties generateXAxisTicks(List generateXAxisTicks) {
this.generateXAxisTicks = generateXAxisTicks;
return this;
}
public XYViewProperties addGenerateXAxisTicksItem(String generateXAxisTicksItem) {
if (this.generateXAxisTicks == null) {
this.generateXAxisTicks = new ArrayList<>();
}
this.generateXAxisTicks.add(generateXAxisTicksItem);
return this;
}
/**
* Get generateXAxisTicks
* @return generateXAxisTicks
**/
public List getGenerateXAxisTicks() {
return generateXAxisTicks;
}
public void setGenerateXAxisTicks(List generateXAxisTicks) {
this.generateXAxisTicks = generateXAxisTicks;
}
public XYViewProperties xTotalTicks(Integer xTotalTicks) {
this.xTotalTicks = xTotalTicks;
return this;
}
/**
* Get xTotalTicks
* @return xTotalTicks
**/
public Integer getXTotalTicks() {
return xTotalTicks;
}
public void setXTotalTicks(Integer xTotalTicks) {
this.xTotalTicks = xTotalTicks;
}
public XYViewProperties xTickStart(Float xTickStart) {
this.xTickStart = xTickStart;
return this;
}
/**
* Get xTickStart
* @return xTickStart
**/
public Float getXTickStart() {
return xTickStart;
}
public void setXTickStart(Float xTickStart) {
this.xTickStart = xTickStart;
}
public XYViewProperties xTickStep(Float xTickStep) {
this.xTickStep = xTickStep;
return this;
}
/**
* Get xTickStep
* @return xTickStep
**/
public Float getXTickStep() {
return xTickStep;
}
public void setXTickStep(Float xTickStep) {
this.xTickStep = xTickStep;
}
public XYViewProperties yColumn(String yColumn) {
this.yColumn = yColumn;
return this;
}
/**
* Get yColumn
* @return yColumn
**/
public String getYColumn() {
return yColumn;
}
public void setYColumn(String yColumn) {
this.yColumn = yColumn;
}
public XYViewProperties generateYAxisTicks(List generateYAxisTicks) {
this.generateYAxisTicks = generateYAxisTicks;
return this;
}
public XYViewProperties addGenerateYAxisTicksItem(String generateYAxisTicksItem) {
if (this.generateYAxisTicks == null) {
this.generateYAxisTicks = new ArrayList<>();
}
this.generateYAxisTicks.add(generateYAxisTicksItem);
return this;
}
/**
* Get generateYAxisTicks
* @return generateYAxisTicks
**/
public List getGenerateYAxisTicks() {
return generateYAxisTicks;
}
public void setGenerateYAxisTicks(List generateYAxisTicks) {
this.generateYAxisTicks = generateYAxisTicks;
}
public XYViewProperties yTotalTicks(Integer yTotalTicks) {
this.yTotalTicks = yTotalTicks;
return this;
}
/**
* Get yTotalTicks
* @return yTotalTicks
**/
public Integer getYTotalTicks() {
return yTotalTicks;
}
public void setYTotalTicks(Integer yTotalTicks) {
this.yTotalTicks = yTotalTicks;
}
public XYViewProperties yTickStart(Float yTickStart) {
this.yTickStart = yTickStart;
return this;
}
/**
* Get yTickStart
* @return yTickStart
**/
public Float getYTickStart() {
return yTickStart;
}
public void setYTickStart(Float yTickStart) {
this.yTickStart = yTickStart;
}
public XYViewProperties yTickStep(Float yTickStep) {
this.yTickStep = yTickStep;
return this;
}
/**
* Get yTickStep
* @return yTickStep
**/
public Float getYTickStep() {
return yTickStep;
}
public void setYTickStep(Float yTickStep) {
this.yTickStep = yTickStep;
}
public XYViewProperties shadeBelow(Boolean shadeBelow) {
this.shadeBelow = shadeBelow;
return this;
}
/**
* Get shadeBelow
* @return shadeBelow
**/
public Boolean getShadeBelow() {
return shadeBelow;
}
public void setShadeBelow(Boolean shadeBelow) {
this.shadeBelow = shadeBelow;
}
public XYViewProperties hoverDimension(HoverDimensionEnum hoverDimension) {
this.hoverDimension = hoverDimension;
return this;
}
/**
* Get hoverDimension
* @return hoverDimension
**/
public HoverDimensionEnum getHoverDimension() {
return hoverDimension;
}
public void setHoverDimension(HoverDimensionEnum hoverDimension) {
this.hoverDimension = hoverDimension;
}
public XYViewProperties position(PositionEnum position) {
this.position = position;
return this;
}
/**
* Get position
* @return position
**/
public PositionEnum getPosition() {
return position;
}
public void setPosition(PositionEnum position) {
this.position = position;
}
public XYViewProperties geom(XYGeom geom) {
this.geom = geom;
return this;
}
/**
* Get geom
* @return geom
**/
public XYGeom getGeom() {
return geom;
}
public void setGeom(XYGeom geom) {
this.geom = geom;
}
public XYViewProperties legendColorizeRows(Boolean legendColorizeRows) {
this.legendColorizeRows = legendColorizeRows;
return this;
}
/**
* Get legendColorizeRows
* @return legendColorizeRows
**/
public Boolean getLegendColorizeRows() {
return legendColorizeRows;
}
public void setLegendColorizeRows(Boolean legendColorizeRows) {
this.legendColorizeRows = legendColorizeRows;
}
public XYViewProperties legendHide(Boolean legendHide) {
this.legendHide = legendHide;
return this;
}
/**
* Get legendHide
* @return legendHide
**/
public Boolean getLegendHide() {
return legendHide;
}
public void setLegendHide(Boolean legendHide) {
this.legendHide = legendHide;
}
public XYViewProperties legendOpacity(Float legendOpacity) {
this.legendOpacity = legendOpacity;
return this;
}
/**
* Get legendOpacity
* @return legendOpacity
**/
public Float getLegendOpacity() {
return legendOpacity;
}
public void setLegendOpacity(Float legendOpacity) {
this.legendOpacity = legendOpacity;
}
public XYViewProperties legendOrientationThreshold(Integer legendOrientationThreshold) {
this.legendOrientationThreshold = legendOrientationThreshold;
return this;
}
/**
* Get legendOrientationThreshold
* @return legendOrientationThreshold
**/
public Integer getLegendOrientationThreshold() {
return legendOrientationThreshold;
}
public void setLegendOrientationThreshold(Integer legendOrientationThreshold) {
this.legendOrientationThreshold = legendOrientationThreshold;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
XYViewProperties xyViewProperties = (XYViewProperties) o;
return Objects.equals(this.timeFormat, xyViewProperties.timeFormat) &&
Objects.equals(this.type, xyViewProperties.type) &&
Objects.equals(this.queries, xyViewProperties.queries) &&
Objects.equals(this.colors, xyViewProperties.colors) &&
Objects.equals(this.colorMapping, xyViewProperties.colorMapping) &&
Objects.equals(this.shape, xyViewProperties.shape) &&
Objects.equals(this.note, xyViewProperties.note) &&
Objects.equals(this.showNoteWhenEmpty, xyViewProperties.showNoteWhenEmpty) &&
Objects.equals(this.axes, xyViewProperties.axes) &&
Objects.equals(this.staticLegend, xyViewProperties.staticLegend) &&
Objects.equals(this.xColumn, xyViewProperties.xColumn) &&
Objects.equals(this.generateXAxisTicks, xyViewProperties.generateXAxisTicks) &&
Objects.equals(this.xTotalTicks, xyViewProperties.xTotalTicks) &&
Objects.equals(this.xTickStart, xyViewProperties.xTickStart) &&
Objects.equals(this.xTickStep, xyViewProperties.xTickStep) &&
Objects.equals(this.yColumn, xyViewProperties.yColumn) &&
Objects.equals(this.generateYAxisTicks, xyViewProperties.generateYAxisTicks) &&
Objects.equals(this.yTotalTicks, xyViewProperties.yTotalTicks) &&
Objects.equals(this.yTickStart, xyViewProperties.yTickStart) &&
Objects.equals(this.yTickStep, xyViewProperties.yTickStep) &&
Objects.equals(this.shadeBelow, xyViewProperties.shadeBelow) &&
Objects.equals(this.hoverDimension, xyViewProperties.hoverDimension) &&
Objects.equals(this.position, xyViewProperties.position) &&
Objects.equals(this.geom, xyViewProperties.geom) &&
Objects.equals(this.legendColorizeRows, xyViewProperties.legendColorizeRows) &&
Objects.equals(this.legendHide, xyViewProperties.legendHide) &&
Objects.equals(this.legendOpacity, xyViewProperties.legendOpacity) &&
Objects.equals(this.legendOrientationThreshold, xyViewProperties.legendOrientationThreshold) &&
super.equals(o);
}
@Override
public int hashCode() {
return Objects.hash(timeFormat, type, queries, colors, colorMapping, shape, note, showNoteWhenEmpty, axes, staticLegend, xColumn, generateXAxisTicks, xTotalTicks, xTickStart, xTickStep, yColumn, generateYAxisTicks, yTotalTicks, yTickStart, yTickStep, shadeBelow, hoverDimension, position, geom, legendColorizeRows, legendHide, legendOpacity, legendOrientationThreshold, super.hashCode());
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class XYViewProperties {\n");
sb.append(" ").append(toIndentedString(super.toString())).append("\n");
sb.append(" timeFormat: ").append(toIndentedString(timeFormat)).append("\n");
sb.append(" type: ").append(toIndentedString(type)).append("\n");
sb.append(" queries: ").append(toIndentedString(queries)).append("\n");
sb.append(" colors: ").append(toIndentedString(colors)).append("\n");
sb.append(" colorMapping: ").append(toIndentedString(colorMapping)).append("\n");
sb.append(" shape: ").append(toIndentedString(shape)).append("\n");
sb.append(" note: ").append(toIndentedString(note)).append("\n");
sb.append(" showNoteWhenEmpty: ").append(toIndentedString(showNoteWhenEmpty)).append("\n");
sb.append(" axes: ").append(toIndentedString(axes)).append("\n");
sb.append(" staticLegend: ").append(toIndentedString(staticLegend)).append("\n");
sb.append(" xColumn: ").append(toIndentedString(xColumn)).append("\n");
sb.append(" generateXAxisTicks: ").append(toIndentedString(generateXAxisTicks)).append("\n");
sb.append(" xTotalTicks: ").append(toIndentedString(xTotalTicks)).append("\n");
sb.append(" xTickStart: ").append(toIndentedString(xTickStart)).append("\n");
sb.append(" xTickStep: ").append(toIndentedString(xTickStep)).append("\n");
sb.append(" yColumn: ").append(toIndentedString(yColumn)).append("\n");
sb.append(" generateYAxisTicks: ").append(toIndentedString(generateYAxisTicks)).append("\n");
sb.append(" yTotalTicks: ").append(toIndentedString(yTotalTicks)).append("\n");
sb.append(" yTickStart: ").append(toIndentedString(yTickStart)).append("\n");
sb.append(" yTickStep: ").append(toIndentedString(yTickStep)).append("\n");
sb.append(" shadeBelow: ").append(toIndentedString(shadeBelow)).append("\n");
sb.append(" hoverDimension: ").append(toIndentedString(hoverDimension)).append("\n");
sb.append(" position: ").append(toIndentedString(position)).append("\n");
sb.append(" geom: ").append(toIndentedString(geom)).append("\n");
sb.append(" legendColorizeRows: ").append(toIndentedString(legendColorizeRows)).append("\n");
sb.append(" legendHide: ").append(toIndentedString(legendHide)).append("\n");
sb.append(" legendOpacity: ").append(toIndentedString(legendOpacity)).append("\n");
sb.append(" legendOrientationThreshold: ").append(toIndentedString(legendOrientationThreshold)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(java.lang.Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy