Class JsChart
java.lang.Object
io.deephaven.web.client.api.event.HasEventHandling
io.deephaven.web.client.api.widget.plot.JsChart
Provide the details for a chart.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.deephaven.web.client.api.event.HasEventHandling
HasEventHandling.EventPair<T> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringa new series was added to this chart as part of a multi-series.Fields inherited from class io.deephaven.web.client.api.event.HasEventHandling
INTERNAL_EVENT_RELEASED -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSeriesFromMultiSeries(JsSeries series) JsAxis[]getAxes()The axes used in this chart.@com.vertispan.tsdefs.annotations.TsTypeRef(io.deephaven.web.client.api.widget.plot.enums.JsChartType.class) intThe type of this chart, see ChartType enum for more details.intintJsSeries[]The multi-series data for display in this chartintgetRow()intJsSeries[]The series data for display in this chart.@JsNullable StringgetTitle()The title of the chart.booleanisIs3d()booleanMethods inherited from class io.deephaven.web.client.api.event.HasEventHandling
addEventListener, addEventListenerOneShot, addEventListenerOneShot, failureHandled, fireCriticalEvent, fireCriticalEvent, fireEvent, fireEvent, fireEvent, hasListener, hasListeners, isSuppress, logPrefix, nextEvent, removeEventListener, suppressEvents, unsuppressEvents
-
Field Details
-
EVENT_SERIES_ADDED
a new series was added to this chart as part of a multi-series. The series instance is the detail for this event.- See Also:
-
-
Constructor Details
-
JsChart
-
-
Method Details
-
getColumn
@JsProperty public int getColumn() -
getRow
@JsProperty public int getRow() -
getColspan
@JsProperty public int getColspan() -
getRowspan
@JsProperty public int getRowspan() -
getChartType
@JsProperty @TsTypeRef(JsChartType.class) public @com.vertispan.tsdefs.annotations.TsTypeRef(io.deephaven.web.client.api.widget.plot.enums.JsChartType.class) int getChartType()The type of this chart, see ChartType enum for more details.- Returns:
- int
-
getTitle
The title of the chart.- Returns:
- String
-
getTitleFont
-
getTitleColor
-
isShowLegend
@JsProperty public boolean isShowLegend() -
getLegendFont
-
getLegendColor
-
isIs3d
@JsProperty(name="is3d") public boolean isIs3d() -
getExportedSeriesArray
-
getExportedMultiSeriesArray
-
getSeries
The series data for display in this chart.- Returns:
- dh.plot.Series
-
getMultiSeries
The multi-series data for display in this chart- Returns:
- dh.plot.MultiSeries
-
getAxes
The axes used in this chart.- Returns:
- dh.plot.Axis
-
addSeriesFromMultiSeries
-