Class TimeSeriesPlot

java.lang.Object
tech.tablesaw.plotly.api.TimeSeriesPlot

public class TimeSeriesPlot extends Object
  • Constructor Details

    • TimeSeriesPlot

      public TimeSeriesPlot()
  • Method Details

    • create

      public static Figure create(String title, tech.tablesaw.api.Table table, String dateColX, String yCol, String groupCol)
    • create

      public static Figure create(String title, tech.tablesaw.api.Table table, String dateColXName, String yColName)
    • create

      public static Figure create(String title, String xTitle, tech.tablesaw.api.DateColumn xCol, String yTitle, tech.tablesaw.api.NumericColumn<?> yCol)
    • create

      public static Figure create(String title, String xTitle, tech.tablesaw.api.DateTimeColumn xCol, String yTitle, tech.tablesaw.api.NumericColumn<?> yCol)
    • create

      public static Figure create(String title, String xTitle, tech.tablesaw.api.InstantColumn xCol, String yTitle, tech.tablesaw.api.NumericColumn<?> yCol)
    • createDateTimeSeries

      public static Figure createDateTimeSeries(String title, tech.tablesaw.api.Table table, String dateTimeColumnName, String numberColumnName)
      Creates a time series where the x values are from a DateTimeColumn, rather than a DateColumn
      Parameters:
      title - The title of the plot
      table - The table containing the source data
      dateTimeColumnName - The name of a DateTimeColumn
      numberColumnName - The name of a NumberColumn
      Returns:
      The figure to be displayed