Package com.influxdb.client.domain
Class XYViewProperties
java.lang.Object
com.influxdb.client.domain.ViewProperties
com.influxdb.client.domain.XYViewProperties
XYViewProperties
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Gets or Sets hoverDimensionstatic enum
Gets or Sets positionstatic enum
Gets or Sets shapestatic enum
Gets or Sets type -
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddColorsItem
(DashboardColor colorsItem) addGenerateXAxisTicksItem
(String generateXAxisTicksItem) addGenerateYAxisTicksItem
(String generateYAxisTicksItem) addQueriesItem
(DashboardQuery queriesItem) colorMapping
(Map<String, String> colorMapping) colors
(List<DashboardColor> colors) boolean
generateXAxisTicks
(List<String> generateXAxisTicks) generateYAxisTicks
(List<String> generateYAxisTicks) getAxes()
Get axesA 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.Colors define color encoding of data into a visualizationGet generateXAxisTicksGet generateYAxisTicksgetGeom()
Get geomGet hoverDimensionGet legendColorizeRowsGet legendHideGet legendOpacityGet legendOrientationThresholdgetNote()
Get noteGet positionGet queriesGet shadeBelowgetShape()
Get shapeIf true, will display note when emptyGet staticLegendGet timeFormatgetType()
Get typeGet xColumnGet xTickStartGet xTickStepGet xTotalTicksGet yColumnGet yTickStartGet yTickStepGet yTotalTicksint
hashCode()
hoverDimension
(XYViewProperties.HoverDimensionEnum hoverDimension) legendColorizeRows
(Boolean legendColorizeRows) legendHide
(Boolean legendHide) legendOpacity
(Float legendOpacity) legendOrientationThreshold
(Integer legendOrientationThreshold) position
(XYViewProperties.PositionEnum position) putColorMappingItem
(String key, String colorMappingItem) queries
(List<DashboardQuery> queries) void
void
setColorMapping
(Map<String, String> colorMapping) void
setColors
(List<DashboardColor> colors) void
setGenerateXAxisTicks
(List<String> generateXAxisTicks) void
setGenerateYAxisTicks
(List<String> generateYAxisTicks) void
void
setHoverDimension
(XYViewProperties.HoverDimensionEnum hoverDimension) void
setLegendColorizeRows
(Boolean legendColorizeRows) void
setLegendHide
(Boolean legendHide) void
setLegendOpacity
(Float legendOpacity) void
setLegendOrientationThreshold
(Integer legendOrientationThreshold) void
void
setPosition
(XYViewProperties.PositionEnum position) void
setQueries
(List<DashboardQuery> queries) void
setShadeBelow
(Boolean shadeBelow) void
setShowNoteWhenEmpty
(Boolean showNoteWhenEmpty) void
setStaticLegend
(StaticLegend staticLegend) void
setTimeFormat
(String timeFormat) void
setXColumn
(String xColumn) void
setXTickStart
(Float xTickStart) void
setXTickStep
(Float xTickStep) void
setXTotalTicks
(Integer xTotalTicks) void
setYColumn
(String yColumn) void
setYTickStart
(Float yTickStart) void
setYTickStep
(Float yTickStep) void
setYTotalTicks
(Integer yTotalTicks) shadeBelow
(Boolean shadeBelow) showNoteWhenEmpty
(Boolean showNoteWhenEmpty) staticLegend
(StaticLegend staticLegend) timeFormat
(String timeFormat) toString()
xTickStart
(Float xTickStart) xTotalTicks
(Integer xTotalTicks) yTickStart
(Float yTickStart) yTotalTicks
(Integer yTotalTicks)
-
Field Details
-
SERIALIZED_NAME_TIME_FORMAT
- See Also:
-
SERIALIZED_NAME_TYPE
- See Also:
-
SERIALIZED_NAME_QUERIES
- See Also:
-
SERIALIZED_NAME_COLORS
- See Also:
-
SERIALIZED_NAME_COLOR_MAPPING
- See Also:
-
SERIALIZED_NAME_SHAPE
- See Also:
-
SERIALIZED_NAME_NOTE
- See Also:
-
SERIALIZED_NAME_SHOW_NOTE_WHEN_EMPTY
- See Also:
-
SERIALIZED_NAME_AXES
- See Also:
-
SERIALIZED_NAME_STATIC_LEGEND
- See Also:
-
SERIALIZED_NAME_X_COLUMN
- See Also:
-
SERIALIZED_NAME_GENERATE_X_AXIS_TICKS
- See Also:
-
SERIALIZED_NAME_X_TOTAL_TICKS
- See Also:
-
SERIALIZED_NAME_X_TICK_START
- See Also:
-
SERIALIZED_NAME_X_TICK_STEP
- See Also:
-
SERIALIZED_NAME_Y_COLUMN
- See Also:
-
SERIALIZED_NAME_GENERATE_Y_AXIS_TICKS
- See Also:
-
SERIALIZED_NAME_Y_TOTAL_TICKS
- See Also:
-
SERIALIZED_NAME_Y_TICK_START
- See Also:
-
SERIALIZED_NAME_Y_TICK_STEP
- See Also:
-
SERIALIZED_NAME_SHADE_BELOW
- See Also:
-
SERIALIZED_NAME_HOVER_DIMENSION
- See Also:
-
SERIALIZED_NAME_POSITION
- See Also:
-
SERIALIZED_NAME_GEOM
- See Also:
-
SERIALIZED_NAME_LEGEND_COLORIZE_ROWS
- See Also:
-
SERIALIZED_NAME_LEGEND_HIDE
- See Also:
-
SERIALIZED_NAME_LEGEND_OPACITY
- See Also:
-
SERIALIZED_NAME_LEGEND_ORIENTATION_THRESHOLD
- See Also:
-
-
Constructor Details
-
XYViewProperties
public XYViewProperties()
-
-
Method Details
-
timeFormat
-
getTimeFormat
Get timeFormat- Returns:
- timeFormat
-
setTimeFormat
-
getType
Get type- Returns:
- type
-
queries
-
addQueriesItem
-
getQueries
Get queries- Returns:
- queries
-
setQueries
-
colors
-
addColorsItem
-
getColors
Colors define color encoding of data into a visualization- Returns:
- colors
-
setColors
-
colorMapping
-
putColorMappingItem
-
getColorMapping
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.- Returns:
- colorMapping
-
setColorMapping
-
getShape
Get shape- Returns:
- shape
-
note
-
getNote
Get note- Returns:
- note
-
setNote
-
showNoteWhenEmpty
-
getShowNoteWhenEmpty
If true, will display note when empty- Returns:
- showNoteWhenEmpty
-
setShowNoteWhenEmpty
-
axes
-
getAxes
Get axes- Returns:
- axes
-
setAxes
-
staticLegend
-
getStaticLegend
Get staticLegend- Returns:
- staticLegend
-
setStaticLegend
-
xColumn
-
getXColumn
Get xColumn- Returns:
- xColumn
-
setXColumn
-
generateXAxisTicks
-
addGenerateXAxisTicksItem
-
getGenerateXAxisTicks
Get generateXAxisTicks- Returns:
- generateXAxisTicks
-
setGenerateXAxisTicks
-
xTotalTicks
-
getXTotalTicks
Get xTotalTicks- Returns:
- xTotalTicks
-
setXTotalTicks
-
xTickStart
-
getXTickStart
Get xTickStart- Returns:
- xTickStart
-
setXTickStart
-
xTickStep
-
getXTickStep
Get xTickStep- Returns:
- xTickStep
-
setXTickStep
-
yColumn
-
getYColumn
Get yColumn- Returns:
- yColumn
-
setYColumn
-
generateYAxisTicks
-
addGenerateYAxisTicksItem
-
getGenerateYAxisTicks
Get generateYAxisTicks- Returns:
- generateYAxisTicks
-
setGenerateYAxisTicks
-
yTotalTicks
-
getYTotalTicks
Get yTotalTicks- Returns:
- yTotalTicks
-
setYTotalTicks
-
yTickStart
-
getYTickStart
Get yTickStart- Returns:
- yTickStart
-
setYTickStart
-
yTickStep
-
getYTickStep
Get yTickStep- Returns:
- yTickStep
-
setYTickStep
-
shadeBelow
-
getShadeBelow
Get shadeBelow- Returns:
- shadeBelow
-
setShadeBelow
-
hoverDimension
-
getHoverDimension
Get hoverDimension- Returns:
- hoverDimension
-
setHoverDimension
-
position
-
getPosition
Get position- Returns:
- position
-
setPosition
-
geom
-
getGeom
Get geom- Returns:
- geom
-
setGeom
-
legendColorizeRows
-
getLegendColorizeRows
Get legendColorizeRows- Returns:
- legendColorizeRows
-
setLegendColorizeRows
-
legendHide
-
getLegendHide
Get legendHide- Returns:
- legendHide
-
setLegendHide
-
legendOpacity
-
getLegendOpacity
Get legendOpacity- Returns:
- legendOpacity
-
setLegendOpacity
-
legendOrientationThreshold
-
getLegendOrientationThreshold
Get legendOrientationThreshold- Returns:
- legendOrientationThreshold
-
setLegendOrientationThreshold
-
equals
- Overrides:
equals
in classViewProperties
-
hashCode
public int hashCode()- Overrides:
hashCode
in classViewProperties
-
toString
- Overrides:
toString
in classViewProperties
-