Package tech.tablesaw.plotly.api
Class TimeSeriesPlot
java.lang.Object
tech.tablesaw.plotly.api.TimeSeriesPlot
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Figurecreate(String title, String xTitle, DateColumn xCol, String yTitle, NumericColumn<?> yCol) static Figurecreate(String title, String xTitle, DateTimeColumn xCol, String yTitle, NumericColumn<?> yCol) static Figurecreate(String title, String xTitle, InstantColumn xCol, String yTitle, NumericColumn<?> yCol) static Figurestatic Figurestatic FigurecreateDateTimeSeries(String title, Table table, String dateTimeColumnName, String numberColumnName) Creates a time series where the x values are from a DateTimeColumn, rather than a DateColumn
-
Constructor Details
-
TimeSeriesPlot
public TimeSeriesPlot()
-
-
Method Details
-
create
-
create
-
create
public static Figure create(String title, String xTitle, DateColumn xCol, String yTitle, NumericColumn<?> yCol) -
create
public static Figure create(String title, String xTitle, DateTimeColumn xCol, String yTitle, NumericColumn<?> yCol) -
create
public static Figure create(String title, String xTitle, InstantColumn xCol, String yTitle, NumericColumn<?> yCol) -
createDateTimeSeries
public static Figure createDateTimeSeries(String title, 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
-