Package tech.tablesaw.plotly.api
Class TimeSeriesPlot
- java.lang.Object
-
- tech.tablesaw.plotly.api.TimeSeriesPlot
-
public class TimeSeriesPlot extends Object
-
-
Constructor Summary
Constructors Constructor Description TimeSeriesPlot()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Figure
create(String title, String xTitle, tech.tablesaw.api.DateColumn xCol, String yTitle, tech.tablesaw.api.NumericColumn<?> yCol)
static Figure
create(String title, String xTitle, tech.tablesaw.api.DateTimeColumn xCol, String yTitle, tech.tablesaw.api.NumericColumn<?> yCol)
static Figure
create(String title, String xTitle, tech.tablesaw.api.InstantColumn xCol, String yTitle, tech.tablesaw.api.NumericColumn<?> yCol)
static Figure
create(String title, tech.tablesaw.api.Table table, String dateColXName, String yColName)
static Figure
create(String title, tech.tablesaw.api.Table table, String dateColX, String yCol, String groupCol)
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
-
-
-
Method Detail
-
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 plottable
- The table containing the source datadateTimeColumnName
- The name of a DateTimeColumnnumberColumnName
- The name of a NumberColumn- Returns:
- The figure to be displayed
-
-