Class JsSeries
java.lang.Object
io.deephaven.web.client.api.widget.plot.JsSeries
Provides access to the data for displaying in a figure.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@JsNullable Booleanindicates that this series belongs to a MultiSeries, null otherwisegetName()The name for this series.@com.vertispan.tsdefs.annotations.TsTypeRef(io.deephaven.web.client.api.widget.plot.enums.JsSeriesPlotStyle.class) intThe plotting style to use for this series.@JsNullable StringgetShape()@JsNullable Double@JsNullable BooleanContains details on how to access data within the chart for this series.@JsNullable String@JsNullable StringvoidinitSources(Map<Integer, JsTable> tables, Map<Integer, JsPartitionedTable> partitionedTables) Post-construct initialization, once we have tables loaded, allowing js to get the type of the data that it will be consuming.booleanbooleanvoidvoidsetMultiSeries(JsMultiSeries multiSeries) voidJS doesn't support method overloads, so we just ignore this one and mark the arg as optional in the JS version.voidsubscribe(DownsampleOptions forceDisableDownsample) voidDisable updates for this Series.
-
Constructor Details
-
JsSeries
-
-
Method Details
-
initSources
@JsIgnore public void initSources(Map<Integer, JsTable> tables, Map<Integer, JsPartitionedTable> partitionedTables) Post-construct initialization, once we have tables loaded, allowing js to get the type of the data that it will be consuming. This is safe to do post-construction, since we don't actually return the JsFigure etc until tables are loaded. -
subscribe
@JsIgnore public void subscribe()JS doesn't support method overloads, so we just ignore this one and mark the arg as optional in the JS version. Enable updates for this Series. -
subscribe
-
unsubscribe
public void unsubscribe()Disable updates for this Series. -
markUnsubscribed
@JsIgnore public void markUnsubscribed() -
getDownsampleOptions
-
isSubscribed
@JsIgnore public boolean isSubscribed() -
getPlotStyle
@JsProperty @TsTypeRef(JsSeriesPlotStyle.class) public @com.vertispan.tsdefs.annotations.TsTypeRef(io.deephaven.web.client.api.widget.plot.enums.JsSeriesPlotStyle.class) int getPlotStyle()The plotting style to use for this series. See SeriesPlotStyle enum for more details.- Returns:
- int
-
getName
The name for this series.- Returns:
- String
-
getLinesVisible
-
getShapesVisible
-
isGradientVisible
@JsProperty public boolean isGradientVisible() -
getLineColor
-
getPointLabelFormat
-
getXToolTipPattern
-
getYToolTipPattern
-
getShapeLabel
-
getShapeSize
-
getShapeColor
-
getShape
-
getSources
Contains details on how to access data within the chart for this series. keyed with the way that this series uses the axis.- Returns:
SeriesDataSource
-
getDescriptor
-
setMultiSeries
-
getMultiSeries
indicates that this series belongs to a MultiSeries, null otherwise- Returns:
- dh.plot.MultiSeries
-
getOneClick
-