java.lang.Object
io.deephaven.web.client.api.event.HasEventHandling
io.deephaven.web.client.api.widget.plot.JsChart

@JsType(name="Chart", namespace="dh.plot") public class JsChart extends HasEventHandling
Provides the details for a chart.
  • Field Details

    • EVENT_SERIES_ADDED

      public static final String 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

  • 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. See JsChartType for more details.
    • getTitle

      @JsProperty public @JsNullable String getTitle()
      The title of the chart.
    • getTitleFont

      @JsProperty public String getTitleFont()
      The font used to render the chart title.
    • getTitleColor

      @JsProperty public String getTitleColor()
      The color used to render the chart title.
    • isShowLegend

      @JsProperty public boolean isShowLegend()
      Whether the chart legend is shown.
    • getLegendFont

      @JsProperty public String getLegendFont()
      The font used to render the chart legend.
    • getLegendColor

      @JsProperty public String getLegendColor()
      The color used to render the chart legend.
    • isIs3d

      @JsProperty(name="is3d") public boolean isIs3d()
      Whether this chart is rendered in 3D.
    • getExportedSeriesArray

      @JsProperty(name="series") public JsSeries[] getExportedSeriesArray()
      Gets a copy of the chart series array.
    • getExportedMultiSeriesArray

      @JsProperty(name="multiSeries") public JsMultiSeries[] getExportedMultiSeriesArray()
      Gets the chart multi-series array.
    • getSeries

      @JsIgnore public JsSeries[] getSeries()
      The series data for display in this chart.
    • getMultiSeries

      @JsIgnore public JsMultiSeries[] getMultiSeries()
      The multi-series data for display in this chart.
    • getAxes

      @JsProperty public JsAxis[] getAxes()
      The axes used in this chart.
    • addSeriesFromMultiSeries

      @JsIgnore public void addSeriesFromMultiSeries(JsSeries series)