Package com.illumon.iris.db.tables.utils
Class LiveDBPlot
java.lang.Object
com.illumon.iris.db.tables.utils.LiveDBPlot
public class LiveDBPlot extends Object
-
Constructor Summary
Constructors Constructor Description LiveDBPlot() -
Method Summary
Modifier and Type Method Description static voidapplyIllumonCategoryChartConfig(org.jfree.chart.JFreeChart chart)static voidapplyIllumonChartConfig(org.jfree.chart.JFreeChart chart)static LiveWidgetbarChart(Table t, String title, String xLabel, String yLabel, String... series)static LiveWidgetbarChartWithGrouping(String categoricalColumn, Table t, String title, String xLabel, String yLabel, String... series)static LiveWidgetbusinessTimeSeriesPlot(Table t, String title, String xLabel, String yLabel, String... series)Creates a business timeseries plot.static LiveWidgetbusinessTimeSeriesPlotWithGrouping(String categoricalColumn, Table t, String title, String xLabel, String yLabel, String... series)static LiveWidgetbusinessTimeSeriesPlotWithTicker(String tickerColumn, Table t, String title, String xLabel, String yLabel, String... series)static LiveWidgetbusinessTimeSeriesPlotWithTickerWithGrouping(String categoricalColumn, String tickerColumn, Table t, String title, String xLabel, String yLabel, String... series)static DbColorCodedBarcolorCodedBar(Table t, String xColumn, String yColumn, gnu.trove.map.hash.TDoubleObjectHashMap<Color> colorMap, int thickness)static LiveWidgethistogram(Table t, String title, String xLabel, String yLabel, String column, int nbins)static LiveWidgethistogram(Table t, String title, String xLabel, String yLabel, String column, int nbins, double xmin, double xmax)static LiveWidgetlinePlot(Table t, String title, String xLabel, String yLabel, String... series)Creates a line plot.static LiveWidgetlinePlotWithGrouping(String categoricalColumn, Table t, String title, String xLabel, String yLabel, String... series)static LiveWidgetlinePlotWithTicker(String tickerColumn, Table t, String title, String xLabel, String yLabel, String... series)static LiveWidgetlinePlotWithTickerWithGrouping(String categoricalColumn, String tickerColumn, Table t, String title, String xLabel, String yLabel, String... series)static LiveWidgetscatterPlot(Table t, String title, String xLabel, String yLabel, String... series)Creates a scatter plot.static LiveWidgetscatterPlotWithGrouping(String categoricalColumn, Table t, String title, String xLabel, String yLabel, String... series)static LiveWidgetscatterPlotWithTicker(String tickerColumn, Table t, String title, String xLabel, String yLabel, String... series)static LiveWidgetscatterPlotWithTickerWithGrouping(String categoricalColumn, String tickerColumn, Table t, String title, String xLabel, String yLabel, String... series)static LiveWidgetstackedBarChart(Table t, String title, String xLabel, String yLabel, String... series)static LiveWidgetstackedBarChartWithGrouping(String categoricalColumn, Table t, String title, String xLabel, String yLabel, String... series)static voidtableInitializer(Map<Integer,org.jfree.data.general.AbstractDataset> datasets, org.jfree.chart.JFreeChart chart)static LiveWidgettimeSeriesPlot(Table t, String title, String xLabel, String yLabel, boolean labelCurrent, String... series)Creates a timeseries plot.static LiveWidgettimeSeriesPlot(Table t, String title, String xLabel, String yLabel, String... series)Creates a timeseries plot with labelCurrent set to false.static org.jfree.chart.JFreeCharttimeSeriesPlot2(Table t, String title, String xLabel, String yLabel, String... series)static LiveWidgettimeSeriesPlotWithGrouping(String categoricalColumn, Table t, String title, String xLabel, String yLabel, boolean labelCurrent, String... series)static LiveWidgettimeSeriesPlotWithGrouping(String categoricalColumn, Table t, String title, String xLabel, String yLabel, String... series)static LiveWidgettimeSeriesPlotWithTicker(String tickerColumn, Table t, String title, String xLabel, String yLabel, boolean labelCurrent, String... series)static LiveWidgettimeSeriesPlotWithTicker(String tickerColumn, Table t, String title, String xLabel, String yLabel, String... series)static LiveWidgettimeSeriesPlotWithTickerWithGrouping(String categoricalColumn, String tickerColumn, Table t, String title, String xLabel, String yLabel, boolean labelCurrent, String... series)static LiveWidgettimeSeriesPlotWithTickerWithGrouping(String categoricalColumn, String tickerColumn, Table t, String title, String xLabel, String yLabel, String... series)static LiveWidgetxyPlot(Table t, String title, String xLabel, String yLabel, String... series)static LiveWidgetxyPlotWithGrouping(String catagoricalColumn, Table t, String title, String xLabel, String yLabel, String... series)static LiveWidgetxyPlotWithTicker(String tickerColumn, Table t, String title, String xLabel, String yLabel, String... series)static LiveWidgetxyPlotWithTickerWithGrouping(String categoricalColumn, String tickerColumn, Table t, String title, String xLabel, String yLabel, String... series)
-
Constructor Details
-
LiveDBPlot
public LiveDBPlot()
-
-
Method Details
-
xyPlot
-
xyPlotWithGrouping
-
xyPlotWithTicker
-
xyPlotWithTickerWithGrouping
-
linePlot
public static LiveWidget linePlot(Table t, String title, String xLabel, String yLabel, String... series)Creates a line plot.- Parameters:
t- table.title- plot title.xLabel- x-axis labe.yLabel- y-axis label.series- series to plot.- Returns:
- plot.
-
linePlotWithGrouping
-
linePlotWithTicker
-
linePlotWithTickerWithGrouping
-
timeSeriesPlot
public static LiveWidget timeSeriesPlot(Table t, String title, String xLabel, String yLabel, boolean labelCurrent, String... series)Creates a timeseries plot.- Parameters:
t- table.title- plot title.xLabel- x-axis label (time).yLabel- y-axis label.labelCurrent- label the current value if trueseries- series to plot.- Returns:
- plot.
-
timeSeriesPlotWithGrouping
-
timeSeriesPlotWithGrouping
-
histogram
-
histogram
-
barChart
-
barChartWithGrouping
-
stackedBarChart
-
stackedBarChartWithGrouping
-
timeSeriesPlot
public static LiveWidget timeSeriesPlot(Table t, String title, String xLabel, String yLabel, String... series)Creates a timeseries plot with labelCurrent set to false.- Returns:
- plot.
-
timeSeriesPlotWithTicker
-
timeSeriesPlotWithTickerWithGrouping
-
timeSeriesPlotWithTicker
-
timeSeriesPlotWithTickerWithGrouping
-
timeSeriesPlot2
-
colorCodedBar
public static DbColorCodedBar colorCodedBar(Table t, String xColumn, String yColumn, gnu.trove.map.hash.TDoubleObjectHashMap<Color> colorMap, int thickness) -
businessTimeSeriesPlot
public static LiveWidget businessTimeSeriesPlot(Table t, String title, String xLabel, String yLabel, String... series)Creates a business timeseries plot.- Parameters:
t- table.title- plot title.xLabel- x-axis label (time).yLabel- y-axis label.series- series to plot.- Returns:
- plot.
-
businessTimeSeriesPlotWithGrouping
-
businessTimeSeriesPlotWithTicker
-
businessTimeSeriesPlotWithTickerWithGrouping
-
scatterPlot
public static LiveWidget scatterPlot(Table t, String title, String xLabel, String yLabel, String... series)Creates a scatter plot.- Parameters:
t- table.title- plot title.xLabel- x-axis labe.yLabel- y-axis label.series- series to plot.- Returns:
- plot.
-
scatterPlotWithGrouping
-
scatterPlotWithTicker
-
scatterPlotWithTickerWithGrouping
-
applyIllumonChartConfig
public static void applyIllumonChartConfig(org.jfree.chart.JFreeChart chart) -
applyIllumonCategoryChartConfig
public static void applyIllumonCategoryChartConfig(org.jfree.chart.JFreeChart chart) -
tableInitializer
-