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
Provide the details for a chart.
  • Field Details

    • EVENT_SERIES_ADDED

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

  • 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

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

      @JsProperty public String getTitleFont()
    • getTitleColor

      @JsProperty public String getTitleColor()
    • isShowLegend

      @JsProperty public boolean isShowLegend()
    • getLegendFont

      @JsProperty public String getLegendFont()
    • getLegendColor

      @JsProperty public String getLegendColor()
    • isIs3d

      @JsProperty(name="is3d") public boolean isIs3d()
    • getExportedSeriesArray

      @JsProperty(name="series") public JsSeries[] getExportedSeriesArray()
    • getExportedMultiSeriesArray

      @JsProperty(name="multiSeries") public JsMultiSeries[] getExportedMultiSeriesArray()
    • getSeries

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

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

      @JsProperty public JsAxis[] getAxes()
      The axes used in this chart.
      Returns:
      dh.plot.Axis
    • addSeriesFromMultiSeries

      @JsIgnore public void addSeriesFromMultiSeries(JsSeries series)