Class JsChart
java.lang.Object
io.deephaven.web.client.api.event.HasEventHandling
io.deephaven.web.client.api.widget.plot.JsChart
Provides 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 StringFired when a new series is added to this chart as part of a multi-series chart.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.intThe number of columns this chart spans in the figure layout.intThe column position of this chart in the figure layout.Gets the chart multi-series array.JsSeries[]Gets a copy of the chart series array.The color used to render the chart legend.The font used to render the chart legend.The multi-series data for display in this chart.intgetRow()The row position of this chart in the figure layout.intThe number of rows this chart spans in the figure layout.JsSeries[]The series data for display in this chart.@JsNullable StringgetTitle()The title of the chart.The color used to render the chart title.The font used to render the chart title.booleanisIs3d()Whether this chart is rendered in 3D.booleanWhether the chart legend is shown.Methods 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
Fired when a new series is added to this chart as part of a multi-series chart. The event detail is the added series instance.- See Also:
-
-
Constructor Details
-
JsChart
-
-
Method Details
-
getColumn
@JsProperty public int getColumn()The column position of this chart in the figure layout. -
getRow
@JsProperty public int getRow()The row position of this chart in the figure layout. -
getColspan
@JsProperty public int getColspan()The number of columns this chart spans in the figure layout. -
getRowspan
@JsProperty public int getRowspan()The number of rows this chart spans in the figure layout. -
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. SeeJsChartTypefor more details. -
getTitle
The title of the chart. -
getTitleFont
The font used to render the chart title. -
getTitleColor
The color used to render the chart title. -
isShowLegend
@JsProperty public boolean isShowLegend()Whether the chart legend is shown. -
getLegendFont
The font used to render the chart legend. -
getLegendColor
The color used to render the chart legend. -
isIs3d
@JsProperty(name="is3d") public boolean isIs3d()Whether this chart is rendered in 3D. -
getExportedSeriesArray
Gets a copy of the chart series array. -
getExportedMultiSeriesArray
Gets the chart multi-series array. -
getSeries
The series data for display in this chart. -
getMultiSeries
The multi-series data for display in this chart. -
getAxes
The axes used in this chart. -
addSeriesFromMultiSeries
-