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 TypeMethodDescriptionThe line color for this series.@JsNullable BooleanWhether lines are visible for this series.Indicates that this series belongs to a MultiSeries, null otherwisegetName()The name for this series.The one-click configuration 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 StringA format string for point labels.getShape()The shape used to render points in this series.The color used to render shapes in this series.The label for shapes in this series.@JsNullable DoubleThe size of shapes in this series.@JsNullable BooleanWhether shapes are visible for this series.Contains details on how to access data within the chart for this series.@JsNullable StringA format string for the x-axis tooltip.@JsNullable StringA format string for the y-axis tooltip.voidinitSources(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.booleanWhether a gradient fill is visible for this series.booleanvoidvoidsetMultiSeries(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(@JsNullable DownsampleOptions forceDisableDownsample) Enables updates for this series.voidDisables updates for this series.
-
Constructor Details
-
JsSeries
@JsIgnore public JsSeries(FigureDescriptor.SeriesDescriptor series, JsFigure jsFigure, Map<String, JsAxis> axes)
-
-
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
Enables updates for this series.If
forceDisableDownsampleis provided, the series will use the given downsample options.- Parameters:
forceDisableDownsample- optional downsample options
-
unsubscribe
public void unsubscribe()Disables 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
Whether lines are visible for this series. -
getShapesVisible
Whether shapes are visible for this series. -
isGradientVisible
@JsProperty public boolean isGradientVisible()Whether a gradient fill is visible for this series. -
getLineColor
The line color for this series. -
getPointLabelFormat
A format string for point labels. -
getXToolTipPattern
A format string for the x-axis tooltip. -
getYToolTipPattern
A format string for the y-axis tooltip. -
getShapeLabel
The label for shapes in this series. -
getShapeSize
The size of shapes in this series. -
getShapeColor
The color used to render shapes in this series. -
getShape
The shape used to render points in this series. -
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
The one-click configuration for this series.
-