Class OneClick
java.lang.Object
io.deephaven.web.client.api.widget.plot.OneClick
A one-click configuration for a chart series.
A OneClick can be used to select values for one or more columns, and uses those values to select one or more
constituent tables from a JsPartitionedTable.
-
Constructor Summary
ConstructorsConstructorDescriptionOneClick(JsFigure jsFigure, FigureDescriptor.OneClickDescriptor oneClick, JsSeries jsSeries) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanColumn[]The columns that can be used to select a constituent table.getTable()jsinterop.base.AnygetValueForColumn(String columnName) Gets the currently selected value forcolumnName.booleanWhether all column values must be set before a table is selected.voidsetPartitionedTable(JsPartitionedTable partitionedTable) voidsetValueForColumn(String columnName, jsinterop.base.Any value) Sets the selected value forcolumnName.
-
Constructor Details
-
OneClick
-
-
Method Details
-
setPartitionedTable
-
getColumns
The columns that can be used to select a constituent table. -
setValueForColumn
Sets the selected value forcolumnName.Passing
nullclears the selected value for the column.- Parameters:
columnName- the column name to set a value forvalue- the selected value, ornullto clear
-
getTable
-
getValueForColumn
Gets the currently selected value forcolumnName.- Parameters:
columnName- the column name- Returns:
- the selected value, or
nullif no value has been set
-
allValuesSet
public boolean allValuesSet() -
allRequiredValuesSet
public boolean allRequiredValuesSet() -
isRequireAllFiltersToDisplay
@JsProperty public boolean isRequireAllFiltersToDisplay()Whether all column values must be set before a table is selected. -
getDescriptor
-