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, tech.tablesaw.api.DateColumn xCol, String yTitle, tech.tablesaw.api.NumericColumn<?> yCol) static Figurecreate(String title, String xTitle, tech.tablesaw.api.DateTimeColumn xCol, String yTitle, tech.tablesaw.api.NumericColumn<?> yCol) static Figurecreate(String title, String xTitle, tech.tablesaw.api.InstantColumn xCol, String yTitle, tech.tablesaw.api.NumericColumn<?> yCol) static Figurestatic Figurestatic FigurecreateDateTimeSeries(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
-
Constructor Details
-
TimeSeriesPlot
public TimeSeriesPlot()
-
-
Method Details
-
create
-
create
-
create
-
create
-
create
-
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
-