public class TimeSeriesPlot extends Object
Constructor | Description |
---|---|
TimeSeriesPlot() |
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
|
public static Figure create(String title, tech.tablesaw.api.Table table, String dateColX, String yCol, String groupCol)
public static Figure create(String title, tech.tablesaw.api.Table table, String dateColXName, String yColName)
public static Figure create(String title, String xTitle, tech.tablesaw.api.DateColumn xCol, String yTitle, tech.tablesaw.api.NumericColumn<?> yCol)
public static Figure create(String title, String xTitle, tech.tablesaw.api.DateTimeColumn xCol, String yTitle, tech.tablesaw.api.NumericColumn<?> yCol)
public static Figure create(String title, String xTitle, tech.tablesaw.api.InstantColumn xCol, String yTitle, tech.tablesaw.api.NumericColumn<?> yCol)
public static Figure createDateTimeSeries(String title, tech.tablesaw.api.Table table, String dateTimeColumnName, String numberColumnName)
title
- The title of the plottable
- The table containing the source datadateTimeColumnName
- The name of a DateTimeColumnnumberColumnName
- The name of a NumberColumnCopyright © 2021. All rights reserved.