public class Rchart extends java.lang.Object implements org.jfree.data.general.DatasetChangeListener, java.io.Serializable, java.awt.event.ComponentListener, java.awt.event.MouseListener, java.awt.event.MouseMotionListener, SliderMouseReleasedListener, de.grogra.util.Disposable
| Modifier and Type | Class and Description |
|---|---|
static class |
Rchart.GGPLOT2COMMAND
ggplot2 commands
|
static class |
Rchart.LegendPosition
legend positions
|
static class |
Rchart.LineType
line types
|
class |
Rchart.PlotOption
class that represents a plotting command
|
static class |
Rchart.PointShape
point shapes
|
| Constructor and Description |
|---|
Rchart(de.grogra.pf.data.Dataset dataset,
boolean interactive)
constructor
|
Rchart(de.grogra.pf.data.DatasetRef dsr,
boolean interactive)
constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
annotate(java.lang.String... args)
ggplot2 function
|
void |
annotation_custom(java.lang.String... args)
ggplot2 function
|
Rchart.PlotOption |
AreaPlot(int Xcolumn,
int Ycolumn)
wrapper for function geom_area(...)
|
Rchart.PlotOption |
BarPlot(int Xcolumn,
int Ycolumn)
wrapper for function geom_bar(...)
|
Rchart.PlotOption |
BoxPlot(int column)
wrapper for function geom_boxplot(...)
|
void |
componentHidden(java.awt.event.ComponentEvent e) |
void |
componentMoved(java.awt.event.ComponentEvent e) |
void |
componentResized(java.awt.event.ComponentEvent e) |
void |
componentShown(java.awt.event.ComponentEvent e) |
void |
coord_cartesian(java.lang.String... args)
ggplot2 function
|
void |
coord_fixed(java.lang.String... args)
ggplot2 function
|
void |
coord_flip(java.lang.String... args)
ggplot2 function
|
void |
coord_map(java.lang.String... args)
ggplot2 function
|
void |
coord_polar(java.lang.String... args)
ggplot2 function
|
void |
coord_quickmap(java.lang.String... args)
ggplot2 function
|
void |
coord_trans(java.lang.String... args)
ggplot2 function
|
void |
datasetChanged(org.jfree.data.general.DatasetChangeEvent event)
event handler that is invoked when the dataset is changed
|
void |
dispose()
dispose instance
|
Rchart.PlotOption |
DotPlot(int Xcolumn,
int Ycolumn)
wrapper for function geom_point(...)
|
void |
expand_limits(java.lang.String... args)
ggplot2 function
|
void |
expr(java.lang.String value)
execute any R expression
|
void |
facet_grid(java.lang.String... args)
ggplot2 function
|
void |
facet_wrap(java.lang.String... args)
ggplot2 function
|
Rchart.PlotOption |
FittedLinePlot(int Xcolumn,
int Ycolumn)
wrapper for function geom_smooth(...
|
Rchart.PlotOption |
geom_abline(java.lang.String... args)
ggplot2 function
|
Rchart.PlotOption |
geom_area(int Xcolumn,
int Ycolumn,
java.lang.String... args)
ggplot2 function
|
Rchart.PlotOption |
geom_bar(int Xcolumn,
int Ycolumn,
java.lang.String... args)
ggplot2 function
|
Rchart.PlotOption |
geom_bar(int column,
java.lang.String... args)
ggplot2 function
|
Rchart.PlotOption |
geom_bin2d(int Xcolumn,
int Ycolumn,
java.lang.String... args)
ggplot2 function
|
Rchart.PlotOption |
geom_blank(java.lang.String... args)
ggplot2 function
|
Rchart.PlotOption |
geom_boxplot(int column,
java.lang.String... args)
ggplot2 function
|
Rchart.PlotOption |
geom_col(int Xcolumn,
int Ycolumn,
java.lang.String... args)
ggplot2 function
|
Rchart.PlotOption |
geom_contour(int Xcolumn,
int Ycolumn,
int Zcolumn,
java.lang.String... args)
ggplot2 function
|
Rchart.PlotOption |
geom_count(int Xcolumn,
int Ycolumn,
java.lang.String... args)
ggplot2 function
|
Rchart.PlotOption |
geom_crossbar(int Xcolumn,
int Ycolumn,
int Ymin,
int Ymax,
java.lang.String... args)
ggplot2 function
|
Rchart.PlotOption |
geom_curve(int Xstart,
int Ystart,
int Xend,
int Yend,
java.lang.String... args)
ggplot2 function
|
Rchart.PlotOption |
geom_density(int column,
java.lang.String... args)
ggplot2 function
|
Rchart.PlotOption |
geom_density2d(int Xcolumn,
int Ycolumn,
java.lang.String... args)
ggplot2 function
|
Rchart.PlotOption |
geom_dotplot(int column,
java.lang.String... args)
ggplot2 function
|
Rchart.PlotOption |
geom_errorbar(int column,
int Ymin,
int Ymax,
java.lang.String... args)
ggplot2 function
|
Rchart.PlotOption |
geom_errorbarh(int column,
int Xmin,
int Xmax,
java.lang.String... args)
ggplot2 function
|
Rchart.PlotOption |
geom_freqpoly(int column,
java.lang.String... args)
ggplot2 function
|
Rchart.PlotOption |
geom_hex(int Xcolumn,
int Ycolumn,
java.lang.String... args)
ggplot2 function
|
Rchart.PlotOption |
geom_histogram(int column,
java.lang.String... args)
ggplot2 function
|
Rchart.PlotOption |
geom_hline(double yintercept,
java.lang.String... args)
ggplot2 function
|
Rchart.PlotOption |
geom_jitter(int Xcolumn,
int Ycolumn,
java.lang.String... args)
ggplot2 function
|
Rchart.PlotOption |
geom_label_repel(int Xcolumn,
int Ycolumn,
java.lang.String[] labels,
java.lang.String... args)
ggplot2 function
|
Rchart.PlotOption |
geom_label(double x,
double y,
java.lang.String label,
java.lang.String... args)
ggplot2 function
|
Rchart.PlotOption |
geom_label(int Xcolumn,
int Ycolumn,
java.lang.String[] labels,
java.lang.String... args)
ggplot2 function
|
Rchart.PlotOption |
geom_label(java.lang.String... args)
ggplot2 function
|
Rchart.PlotOption |
geom_line(int Xcolumn,
int Ycolumn,
java.lang.String... args)
ggplot2 function
|
Rchart.PlotOption |
geom_linerange(int column,
int Ymin,
int Ymax,
java.lang.String... args)
ggplot2 function
|
Rchart.PlotOption |
geom_map(java.lang.String... args)
ggplot2 function
|
Rchart.PlotOption |
geom_path(int Xcolumn,
int Ycolumn,
java.lang.String... args)
ggplot2 function
|
Rchart.PlotOption |
geom_point(int Xcolumn,
int Ycolumn,
java.lang.String... args)
ggplot2 function
|
Rchart.PlotOption |
geom_pointrange(int Xcolumn,
int Ycolumn,
int Ymin,
int Ymax,
java.lang.String... args)
ggplot2 function
|
Rchart.PlotOption |
geom_polygon(int Xcolumn,
int Ycolumn,
java.lang.String... args)
ggplot2 function
|
Rchart.PlotOption |
geom_qq(int column,
java.lang.String... args)
ggplot2 function
|
Rchart.PlotOption |
geom_quantile(int Xcolumn,
int Ycolumn,
java.lang.String... args)
ggplot2 function
|
Rchart.PlotOption |
geom_raster(int Xcolumn,
int Ycolumn,
java.lang.String... args)
ggplot2 function
|
Rchart.PlotOption |
geom_rect(double xmin,
double xmax,
double ymin,
double ymax,
java.lang.String... args)
ggplot2 function
|
Rchart.PlotOption |
geom_ribbon(int column,
int Ymin,
int Ymax,
java.lang.String... args)
ggplot2 function
|
Rchart.PlotOption |
geom_rug(int Xcolumn,
int Ycolumn,
java.lang.String... args)
ggplot2 function
|
Rchart.PlotOption |
geom_rug(int column,
java.lang.String... args)
ggplot2 function
|
Rchart.PlotOption |
geom_rug(java.lang.String... args)
ggplot2 function
|
Rchart.PlotOption |
geom_segment(int Xstart,
int Ystart,
int Xend,
int Yend,
java.lang.String... args)
ggplot2 function
|
Rchart.PlotOption |
geom_smooth(int Xcolumn,
int Ycolumn,
java.lang.String... args)
ggplot2 function
|
Rchart.PlotOption |
geom_spoke(int Xcolumn,
int Ycolumn,
int angle,
int radius,
java.lang.String... args)
ggplot2 function
|
Rchart.PlotOption |
geom_step(int Xcolumn,
int Ycolumn,
java.lang.String... args)
ggplot2 function
|
Rchart.PlotOption |
geom_text(double x,
double y,
java.lang.String text,
java.lang.String... args)
ggplot2 function
|
Rchart.PlotOption |
geom_tile(int Xcolumn,
int Ycolumn,
java.lang.String... args)
ggplot2 function
|
Rchart.PlotOption |
geom_violin(int Xcolumn,
int Ycolumn,
java.lang.String... args)
ggplot2 function
|
Rchart.PlotOption |
geom_vline(double xintercept,
java.lang.String... args)
ggplot2 function
|
de.grogra.pf.data.Dataset |
getDataset()
get the dataset
|
java.lang.String |
getTitle()
get the plot title
|
void |
ggplot2_function(java.lang.String function,
java.lang.String... args)
ggplot2 function
|
void |
ggtitle(java.lang.String... args)
ggplot2 function
|
void |
guides(java.lang.String... args)
ggplot2 function
|
void |
HeatMap(int Xcolumn,
int Ycolumn,
int HeatColumn,
double resolution)
heat map plot
|
void |
HeatMap(int Xcolumn,
int Ycolumn,
int HeatColumn,
double resolution,
java.lang.String Xlabel,
java.lang.String Ylabel,
java.lang.String Heatlabel)
heat map plot
|
void |
HeatMap(int Xcolumn,
int Ycolumn,
int HeatColumn,
double resolution,
java.lang.String Xlabel,
java.lang.String Ylabel,
java.lang.String Heatlabel,
java.lang.String title)
heat map plot
|
Rchart.PlotOption |
Histogram(int column)
wrapper for function geom_histogram(...)
|
Rchart.PlotOption |
Histogram(int column,
double binwidth)
wrapper for function geom_histogram(...)
|
void |
inspectData()
opens a browser table application for the dataset
|
void |
labs(java.lang.String... args)
ggplot2 function
|
Rchart.PlotOption |
LinePlot(int Xcolumn,
int Ycolumn)
wrapper for function geom_line(...)
|
void |
LinePlot3D(int Xcolumn,
int Ycolumn,
int Zcolumn)
3D line plot
|
void |
LinePlot3D(int Xcolumn,
int Ycolumn,
int Zcolumn,
java.lang.String Xlabel,
java.lang.String Ylabel,
java.lang.String Zlabel)
3D line plot
|
void |
mouseClicked(java.awt.event.MouseEvent e) |
void |
mouseDragged(java.awt.event.MouseEvent e) |
void |
mouseEntered(java.awt.event.MouseEvent e) |
void |
mouseExited(java.awt.event.MouseEvent e) |
void |
mouseMoved(java.awt.event.MouseEvent e) |
void |
mousePressed(java.awt.event.MouseEvent e) |
void |
mouseReleased(java.awt.event.MouseEvent e) |
void |
scale_color_manual(java.lang.String... args)
ggplot2 function
|
void |
scale_fill_brewer(java.lang.String... args)
ggplot2 function
|
void |
scale_fill_continuous(java.lang.String... args)
ggplot2 function
|
void |
scale_fill_discrete(java.lang.String... args)
ggplot2 function
|
void |
scale_fill_distiller(java.lang.String... args)
ggplot2 function
|
void |
scale_fill_gradient(java.lang.String... args)
ggplot2 function
|
void |
scale_fill_gradient2(java.lang.String... args)
ggplot2 function
|
void |
scale_fill_gradientn(java.lang.String... args)
ggplot2 function
|
void |
scale_fill_manual(java.lang.String... args)
ggplot2 function
|
void |
scale_linetype_manual(java.lang.String... args)
ggplot2 function
|
void |
scale_radius(java.lang.String... args)
ggplot2 function
|
void |
scale_shape_manual(java.lang.String... args)
ggplot2 function
|
void |
scale_shape(java.lang.String... args)
ggplot2 function
|
void |
scale_size_area(java.lang.String... args)
ggplot2 function
|
void |
scale_size(java.lang.String... args)
ggplot2 function
|
void |
scale_x_continuous(java.lang.String... args)
ggplot2 function
|
void |
scale_x_date(java.lang.String... args)
ggplot2 function
|
void |
scale_x_datetime(java.lang.String... args)
ggplot2 function
|
void |
scale_x_discrete(java.lang.String... args)
ggplot2 function
|
void |
scale_x_identity(java.lang.String... args)
ggplot2 function
|
void |
scale_x_log10(java.lang.String... args)
ggplot2 function
|
void |
scale_x_manual(java.lang.String... args)
ggplot2 function
|
void |
scale_x_reverse(java.lang.String... args)
ggplot2 function
|
void |
scale_x_sqrt(java.lang.String... args)
ggplot2 function
|
void |
scale_y_continuous(java.lang.String... args)
ggplot2 function
|
void |
scale_y_date(java.lang.String... args)
ggplot2 function
|
void |
scale_y_datetime(java.lang.String... args)
ggplot2 function
|
void |
scale_y_discrete(java.lang.String... args)
ggplot2 function
|
void |
scale_y_identity(java.lang.String... args)
ggplot2 function
|
void |
scale_y_log10(java.lang.String... args)
ggplot2 function
|
void |
scale_y_manual(java.lang.String... args)
ggplot2 function
|
void |
scale_y_reverse(java.lang.String... args)
ggplot2 function
|
void |
scale_y_sqrt(java.lang.String... args)
ggplot2 function
|
void |
ScatterPlot3D(int Xcolumn,
int Ycolumn,
int Zcolumn)
3D scatter plot
|
void |
ScatterPlot3D(int Xcolumn,
int Ycolumn,
int Zcolumn,
java.lang.String Xlabel,
java.lang.String Ylabel,
java.lang.String Zlabel)
3D scatter plot
|
void |
setLegendPosition(Rchart.LegendPosition pos)
set legend position
|
void |
setTitle(java.lang.String title)
set the plot title
|
void |
setXAxisLabel(java.lang.String label)
set x-axis label
|
void |
setXAxisLimits(double min,
double max)
set x-axis limits
|
void |
setYAxisLabel(java.lang.String label)
set y-axis label
|
void |
setYAxisLimits(double min,
double max)
set y-axis limits
|
void |
setZAxisLabel(java.lang.String label)
set z-axis label
|
void |
setZAxisLimits(double min,
double max)
set z-axis limits
|
void |
show()
Opens the plot window (if not already open) and plots according to settings.
|
void |
SliderMouseReleasedEvent() |
Rchart.PlotOption |
StepPlot(int Xcolumn,
int Ycolumn)
wrapper for function geom_step(...)
|
void |
Table()
plot table
|
void |
Table(java.lang.String... colNames)
plot table
|
void |
Table(java.lang.String[] colNames,
java.lang.String[] rowNames)
plot table
|
void |
theme_bw(java.lang.String... args)
ggplot2 function
|
void |
theme_classic(java.lang.String... args)
ggplot2 function
|
void |
theme_dark(java.lang.String... args)
ggplot2 function
|
void |
theme_grey(java.lang.String... args)
ggplot2 function
|
void |
theme_light(java.lang.String... args)
ggplot2 function
|
void |
theme_linedraw(java.lang.String... args)
ggplot2 function
|
void |
theme_minimal(java.lang.String... args)
ggplot2 function
|
void |
theme_void(java.lang.String... args)
ggplot2 function
|
void |
theme(java.lang.String... args)
ggplot2 function
|
void |
xlab(java.lang.String... args)
ggplot2 function
|
void |
xlim(java.lang.String... args)
ggplot2 function
|
void |
ylab(java.lang.String... args)
ggplot2 function
|
void |
ylim(java.lang.String... args)
ggplot2 function
|
void |
zlab(java.lang.String... args)
ggplot2 function
|
void |
zlim(java.lang.String... args)
ggplot2 function
|
public Rchart(de.grogra.pf.data.Dataset dataset,
boolean interactive)
dataset - plot datainteractive - determines if the plot updates when the data changespublic Rchart(de.grogra.pf.data.DatasetRef dsr,
boolean interactive)
dsr - plot datainteractive - determines if the plot updates when the data changespublic de.grogra.pf.data.Dataset getDataset()
public java.lang.String getTitle()
public void setTitle(java.lang.String title)
title - public void show()
public void inspectData()
public void datasetChanged(org.jfree.data.general.DatasetChangeEvent event)
datasetChanged in interface org.jfree.data.general.DatasetChangeListenerpublic void annotate(java.lang.String... args)
args - argumentspublic void annotation_custom(java.lang.String... args)
args - argumentspublic void coord_cartesian(java.lang.String... args)
args - argumentspublic void coord_fixed(java.lang.String... args)
args - argumentspublic void coord_flip(java.lang.String... args)
args - argumentspublic void coord_map(java.lang.String... args)
args - argumentspublic void coord_polar(java.lang.String... args)
args - argumentspublic void coord_quickmap(java.lang.String... args)
args - argumentspublic void coord_trans(java.lang.String... args)
args - argumentspublic void expand_limits(java.lang.String... args)
args - argumentspublic void facet_grid(java.lang.String... args)
args - argumentspublic void facet_wrap(java.lang.String... args)
args - argumentspublic Rchart.PlotOption geom_abline(java.lang.String... args)
args - argumentspublic Rchart.PlotOption geom_area(int Xcolumn, int Ycolumn, java.lang.String... args)
Xcolumn - column index from dataset to map column to x-valuesYcolumn - column index from dataset to map column to y-valuesargs - argumentspublic Rchart.PlotOption geom_bar(int column, java.lang.String... args)
column - column index from dataset to map column to valuesargs - argumentspublic Rchart.PlotOption geom_bar(int Xcolumn, int Ycolumn, java.lang.String... args)
Xcolumn - column index from dataset to map column to x-valuesYcolumn - column index from dataset to map column to y-valuesargs - argumentspublic Rchart.PlotOption geom_bin2d(int Xcolumn, int Ycolumn, java.lang.String... args)
Xcolumn - column index from dataset to map column to x-valuesYcolumn - column index from dataset to map column to y-valuesargs - argumentspublic Rchart.PlotOption geom_blank(java.lang.String... args)
args - argumentspublic Rchart.PlotOption geom_boxplot(int column, java.lang.String... args)
column - column index from dataset to map column to valuesargs - argumentspublic Rchart.PlotOption geom_col(int Xcolumn, int Ycolumn, java.lang.String... args)
Xcolumn - column index from dataset to map column to x-valuesYcolumn - column index from dataset to map column to y-valuesargs - argumentspublic Rchart.PlotOption geom_contour(int Xcolumn, int Ycolumn, int Zcolumn, java.lang.String... args)
Xcolumn - column index from dataset to map column to x-valuesYcolumn - column index from dataset to map column to y-valuesZcolumn - column index from dataset to map column to z-valuesargs - argumentspublic Rchart.PlotOption geom_count(int Xcolumn, int Ycolumn, java.lang.String... args)
Xcolumn - column index from dataset to map column to x-valuesYcolumn - column index from dataset to map column to y-valuesargs - argumentspublic Rchart.PlotOption geom_crossbar(int Xcolumn, int Ycolumn, int Ymin, int Ymax, java.lang.String... args)
Xcolumn - column index from dataset to map column to x-valuesYcolumn - column index from dataset to map column to y-valuesYmin - column index from dataset to map column to range x-valuesYmax - column index from dataset to map column to range y-valuesargs - argumentspublic Rchart.PlotOption geom_curve(int Xstart, int Ystart, int Xend, int Yend, java.lang.String... args)
Xstart - column index from dataset to map column to start x-valuesYstart - column index from dataset to map column to start y-valuesXend - column index from dataset to map column to end x-valuesYend - column index from dataset to map column to end y-valuesargs - argumentspublic Rchart.PlotOption geom_density(int column, java.lang.String... args)
column - column index from dataset to map column to valuesargs - argumentspublic Rchart.PlotOption geom_density2d(int Xcolumn, int Ycolumn, java.lang.String... args)
Xcolumn - column index from dataset to map column to x-valuesYcolumn - column index from dataset to map column to y-valuesargs - argumentspublic Rchart.PlotOption geom_dotplot(int column, java.lang.String... args)
column - column index from dataset to map column to valuesargs - argumentspublic Rchart.PlotOption geom_errorbar(int column, int Ymin, int Ymax, java.lang.String... args)
column - column index from dataset to map column to valuesYmin - column index from dataset to map column to range x-valuesYmax - column index from dataset to map column to range y-valuesargs - argumentspublic Rchart.PlotOption geom_errorbarh(int column, int Xmin, int Xmax, java.lang.String... args)
column - column index from dataset to map column to valuesXmin - column index from dataset to map column to range x-valuesXmax - column index from dataset to map column to range y-valuesargs - argumentspublic Rchart.PlotOption geom_freqpoly(int column, java.lang.String... args)
column - column index from dataset to map column to valuesargs - argumentspublic Rchart.PlotOption geom_hex(int Xcolumn, int Ycolumn, java.lang.String... args)
Xcolumn - column index from dataset to map column to x-valuesYcolumn - column index from dataset to map column to y-valuesargs - argumentspublic Rchart.PlotOption geom_histogram(int column, java.lang.String... args)
column - column index from dataset to map column to valuesargs - argumentspublic Rchart.PlotOption geom_hline(double yintercept, java.lang.String... args)
yintercept - height to intercept y-axisargs - argumentspublic Rchart.PlotOption geom_jitter(int Xcolumn, int Ycolumn, java.lang.String... args)
Xcolumn - column index from dataset to map column to x-valuesYcolumn - column index from dataset to map column to y-valuesargs - argumentspublic Rchart.PlotOption geom_label(java.lang.String... args)
args - argumentspublic Rchart.PlotOption geom_label(int Xcolumn, int Ycolumn, java.lang.String[] labels, java.lang.String... args)
Xcolumn - column index from dataset to map column to x-valuesYcolumn - column index from dataset to map column to y-valueslabels - label text arrayargs - argumentspublic Rchart.PlotOption geom_label(double x, double y, java.lang.String label, java.lang.String... args)
x - x-coordinate to place the labely - y-coordinate to place the labellabel - label textargs - argumentspublic Rchart.PlotOption geom_label_repel(int Xcolumn, int Ycolumn, java.lang.String[] labels, java.lang.String... args)
Xcolumn - column index from dataset to map column to x-valuesYcolumn - column index from dataset to map column to y-valueslabels - label text arrayargs - argumentspublic Rchart.PlotOption geom_line(int Xcolumn, int Ycolumn, java.lang.String... args)
Xcolumn - column index from dataset to map column to x-valuesYcolumn - column index from dataset to map column to y-valuesargs - argumentspublic Rchart.PlotOption geom_linerange(int column, int Ymin, int Ymax, java.lang.String... args)
column - column index from dataset to map column to valuesYmin - column index from dataset to map column to line range x-valuesYmax - column index from dataset to map column to line range y-valuesargs - argumentspublic Rchart.PlotOption geom_map(java.lang.String... args)
args - argumentspublic Rchart.PlotOption geom_path(int Xcolumn, int Ycolumn, java.lang.String... args)
Xcolumn - column index from dataset to map column to x-valuesYcolumn - column index from dataset to map column to y-valuesargs - argumentspublic Rchart.PlotOption geom_point(int Xcolumn, int Ycolumn, java.lang.String... args)
Xcolumn - column index from dataset to map column to x-valuesYcolumn - column index from dataset to map column to y-valuesargs - argumentspublic Rchart.PlotOption geom_pointrange(int Xcolumn, int Ycolumn, int Ymin, int Ymax, java.lang.String... args)
Xcolumn - column index from dataset to map column to x-valuesYcolumn - column index from dataset to map column to y-valuesYmin - column index from dataset to map column to range x-valuesYmax - column index from dataset to map column to range x-valuesargs - argumentspublic Rchart.PlotOption geom_polygon(int Xcolumn, int Ycolumn, java.lang.String... args)
Xcolumn - column index from dataset to map column to x-valuesYcolumn - column index from dataset to map column to y-valuesargs - argumentspublic Rchart.PlotOption geom_qq(int column, java.lang.String... args)
column - column index from dataset to map column to valuesargs - argumentspublic Rchart.PlotOption geom_quantile(int Xcolumn, int Ycolumn, java.lang.String... args)
Xcolumn - column index from dataset to map column to x-valuesYcolumn - column index from dataset to map column to y-valuesargs - argumentspublic Rchart.PlotOption geom_raster(int Xcolumn, int Ycolumn, java.lang.String... args)
Xcolumn - column index from dataset to map column to x-valuesYcolumn - column index from dataset to map column to y-valuesargs - argumentspublic Rchart.PlotOption geom_rect(double xmin, double xmax, double ymin, double ymax, java.lang.String... args)
xmin - min x-value of rectanglexmax - max x-value of rectangleymin - min y-value of rectangleymax - max y-value of rectangleargs - argumentspublic Rchart.PlotOption geom_ribbon(int column, int Ymin, int Ymax, java.lang.String... args)
column - column index from dataset to map column to valuesYmin - column index from dataset to map column to range x-valuesYmax - column index from dataset to map column to range x-valuesargs - argumentspublic Rchart.PlotOption geom_rug(java.lang.String... args)
args - argumentspublic Rchart.PlotOption geom_rug(int column, java.lang.String... args)
column - column index from dataset to map column to valuesargs - argumentspublic Rchart.PlotOption geom_rug(int Xcolumn, int Ycolumn, java.lang.String... args)
Xcolumn - column index from dataset to map column to x-valuesYcolumn - column index from dataset to map column to y-valuesargs - argumentspublic Rchart.PlotOption geom_segment(int Xstart, int Ystart, int Xend, int Yend, java.lang.String... args)
Xstart - column index from dataset to map column to start x-valuesYstart - column index from dataset to map column to start y-valuesXend - column index from dataset to map column to end x-valuesYend - column index from dataset to map column to end y-valuesargs - argumentspublic Rchart.PlotOption geom_smooth(int Xcolumn, int Ycolumn, java.lang.String... args)
Xcolumn - column index from dataset to map column to x-valuesYcolumn - column index from dataset to map column to y-valuesargs - argumentspublic Rchart.PlotOption geom_spoke(int Xcolumn, int Ycolumn, int angle, int radius, java.lang.String... args)
Xcolumn - column index from dataset to map column to x-valuesYcolumn - column index from dataset to map column to y-valuesangle - column index from dataset to map angle to data pointsradius - column index from dataset to map radius to data pointsargs - argumentspublic Rchart.PlotOption geom_step(int Xcolumn, int Ycolumn, java.lang.String... args)
Xcolumn - column index from dataset to map column to x-valuesYcolumn - column index from dataset to map column to y-valuesargs - argumentspublic Rchart.PlotOption geom_text(double x, double y, java.lang.String text, java.lang.String... args)
x - x-coordinate to place the labely - y-coordinate to place the labeltext - textargs - argumentspublic Rchart.PlotOption geom_tile(int Xcolumn, int Ycolumn, java.lang.String... args)
Xcolumn - column index from dataset to map column to x-valuesYcolumn - column index from dataset to map column to y-valuesargs - argumentspublic Rchart.PlotOption geom_violin(int Xcolumn, int Ycolumn, java.lang.String... args)
Xcolumn - column index from dataset to map column to x-valuesYcolumn - column index from dataset to map column to y-valuesargs - argumentspublic Rchart.PlotOption geom_vline(double xintercept, java.lang.String... args)
xintercept - width to intercept x-axisargs - argumentspublic void ggtitle(java.lang.String... args)
args - argumentspublic void guides(java.lang.String... args)
args - argumentspublic void labs(java.lang.String... args)
args - argumentspublic void scale_color_manual(java.lang.String... args)
args - argumentspublic void scale_linetype_manual(java.lang.String... args)
args - argumentspublic void scale_fill_brewer(java.lang.String... args)
args - argumentspublic void scale_fill_continuous(java.lang.String... args)
args - argumentspublic void scale_fill_discrete(java.lang.String... args)
args - argumentspublic void scale_fill_distiller(java.lang.String... args)
args - argumentspublic void scale_fill_gradient(java.lang.String... args)
args - argumentspublic void scale_fill_gradient2(java.lang.String... args)
args - argumentspublic void scale_fill_gradientn(java.lang.String... args)
args - argumentspublic void scale_fill_manual(java.lang.String... args)
args - argumentspublic void scale_radius(java.lang.String... args)
args - argumentspublic void scale_shape(java.lang.String... args)
args - argumentspublic void scale_shape_manual(java.lang.String... args)
args - argumentspublic void scale_size(java.lang.String... args)
args - argumentspublic void scale_size_area(java.lang.String... args)
args - argumentspublic void scale_x_continuous(java.lang.String... args)
args - argumentspublic void scale_x_date(java.lang.String... args)
args - argumentspublic void scale_x_datetime(java.lang.String... args)
args - argumentspublic void scale_x_discrete(java.lang.String... args)
args - argumentspublic void scale_x_identity(java.lang.String... args)
args - argumentspublic void scale_x_log10(java.lang.String... args)
args - argumentspublic void scale_x_manual(java.lang.String... args)
args - argumentspublic void scale_x_reverse(java.lang.String... args)
args - argumentspublic void scale_x_sqrt(java.lang.String... args)
args - argumentspublic void scale_y_continuous(java.lang.String... args)
args - argumentspublic void scale_y_date(java.lang.String... args)
args - argumentspublic void scale_y_datetime(java.lang.String... args)
args - argumentspublic void scale_y_discrete(java.lang.String... args)
args - argumentspublic void scale_y_identity(java.lang.String... args)
args - argumentspublic void scale_y_log10(java.lang.String... args)
args - argumentspublic void scale_y_manual(java.lang.String... args)
args - argumentspublic void scale_y_reverse(java.lang.String... args)
args - argumentspublic void scale_y_sqrt(java.lang.String... args)
args - argumentspublic void theme(java.lang.String... args)
args - argumentspublic void theme_bw(java.lang.String... args)
args - argumentspublic void theme_classic(java.lang.String... args)
args - argumentspublic void theme_dark(java.lang.String... args)
args - argumentspublic void theme_grey(java.lang.String... args)
args - argumentspublic void theme_light(java.lang.String... args)
args - argumentspublic void theme_linedraw(java.lang.String... args)
args - argumentspublic void theme_minimal(java.lang.String... args)
args - argumentspublic void theme_void(java.lang.String... args)
args - argumentspublic void xlab(java.lang.String... args)
args - argumentspublic void xlim(java.lang.String... args)
args - argumentspublic void ylab(java.lang.String... args)
args - argumentspublic void ylim(java.lang.String... args)
args - argumentspublic void zlab(java.lang.String... args)
args - argumentspublic void zlim(java.lang.String... args)
args - argumentspublic void ggplot2_function(java.lang.String function,
java.lang.String... args)
function - function nameargs - argumentspublic void Table()
public void Table(java.lang.String... colNames)
colNames - array of column namespublic void Table(java.lang.String[] colNames,
java.lang.String[] rowNames)
colNames - array of column namesrowNames - array of row namespublic void ScatterPlot3D(int Xcolumn,
int Ycolumn,
int Zcolumn)
Xcolumn - column index from dataset to map column to x-valuesYcolumn - column index from dataset to map column to y-valuesZcolumn - column index from dataset to map column to z-valuespublic void ScatterPlot3D(int Xcolumn,
int Ycolumn,
int Zcolumn,
java.lang.String Xlabel,
java.lang.String Ylabel,
java.lang.String Zlabel)
Xcolumn - column index from dataset to map column to x-valuesYcolumn - column index from dataset to map column to y-valuesZcolumn - column index from dataset to map column to z-valuesXlabel - x-axis labelYlabel - y-axis labelZlabel - z-axis labelpublic void LinePlot3D(int Xcolumn,
int Ycolumn,
int Zcolumn)
Xcolumn - column index from dataset to map column to x-valuesYcolumn - column index from dataset to map column to y-valuesZcolumn - column index from dataset to map column to z-valuespublic void LinePlot3D(int Xcolumn,
int Ycolumn,
int Zcolumn,
java.lang.String Xlabel,
java.lang.String Ylabel,
java.lang.String Zlabel)
Xcolumn - column index from dataset to map column to x-valuesYcolumn - column index from dataset to map column to y-valuesZcolumn - column index from dataset to map column to z-valuesXlabel - x-axis labelYlabel - y-axis labelZlabel - z-axis labelpublic void HeatMap(int Xcolumn,
int Ycolumn,
int HeatColumn,
double resolution)
Xcolumn - column index from dataset to map column to x-valuesYcolumn - column index from dataset to map column to y-valuesHeatColumn - column index from dataset to map column to heat valuesresolution - interpolation resolutionpublic void HeatMap(int Xcolumn,
int Ycolumn,
int HeatColumn,
double resolution,
java.lang.String Xlabel,
java.lang.String Ylabel,
java.lang.String Heatlabel,
java.lang.String title)
Xcolumn - column index from dataset to map column to x-valuesYcolumn - column index from dataset to map column to y-valuesHeatColumn - column index from dataset to map column to heat valuesresolution - interpolation resolutionXlabel - x-axis labelYlabel - y-axis labelHeatlabel - heat values labelpublic void HeatMap(int Xcolumn,
int Ycolumn,
int HeatColumn,
double resolution,
java.lang.String Xlabel,
java.lang.String Ylabel,
java.lang.String Heatlabel)
Xcolumn - column index from dataset to map column to x-valuesYcolumn - column index from dataset to map column to y-valuesHeatColumn - column index from dataset to map column to heat valuesresolution - interpolation resolutionXlabel - x-axis labelYlabel - y-axis labelpublic Rchart.PlotOption LinePlot(int Xcolumn, int Ycolumn)
Xcolumn - column index from dataset to map column to x-valuesYcolumn - column index from dataset to map column to y-valuespublic Rchart.PlotOption Histogram(int column)
column - column index from dataset to map column to valuespublic Rchart.PlotOption Histogram(int column, double binwidth)
column - column index from dataset to map column to valuesbinwidth - width of histogram binspublic Rchart.PlotOption BarPlot(int Xcolumn, int Ycolumn)
Xcolumn - column index from dataset to map column to x-valuesYcolumn - column index from dataset to map column to y-valuespublic Rchart.PlotOption DotPlot(int Xcolumn, int Ycolumn)
Xcolumn - column index from dataset to map column to x-valuesYcolumn - column index from dataset to map column to y-valuespublic Rchart.PlotOption StepPlot(int Xcolumn, int Ycolumn)
Xcolumn - column index from dataset to map column to x-valuesYcolumn - column index from dataset to map column to y-valuespublic Rchart.PlotOption BoxPlot(int column)
column - column index from dataset to map column to valuespublic Rchart.PlotOption AreaPlot(int Xcolumn, int Ycolumn)
Xcolumn - column index from dataset to map column to x-valuesYcolumn - column index from dataset to map column to y-valuespublic Rchart.PlotOption FittedLinePlot(int Xcolumn, int Ycolumn)
Xcolumn - column index from dataset to map column to x-valuesYcolumn - column index from dataset to map column to y-valuespublic void expr(java.lang.String value)
value - expressionpublic void setXAxisLabel(java.lang.String label)
public void setYAxisLabel(java.lang.String label)
public void setZAxisLabel(java.lang.String label)
public void setXAxisLimits(double min,
double max)
min - minimum valuemax - maximum valuepublic void setYAxisLimits(double min,
double max)
min - minimum valuemax - maximum valuepublic void setZAxisLimits(double min,
double max)
min - minimum valuemax - maximum valuepublic void setLegendPosition(Rchart.LegendPosition pos)
pos - legend position valuepublic void mousePressed(java.awt.event.MouseEvent e)
mousePressed in interface java.awt.event.MouseListenerpublic void mouseReleased(java.awt.event.MouseEvent e)
mouseReleased in interface java.awt.event.MouseListenerpublic void mouseDragged(java.awt.event.MouseEvent e)
mouseDragged in interface java.awt.event.MouseMotionListenerpublic void mouseMoved(java.awt.event.MouseEvent e)
mouseMoved in interface java.awt.event.MouseMotionListenerpublic void SliderMouseReleasedEvent()
SliderMouseReleasedEvent in interface SliderMouseReleasedListenerpublic void mouseExited(java.awt.event.MouseEvent e)
mouseExited in interface java.awt.event.MouseListenerpublic void componentResized(java.awt.event.ComponentEvent e)
componentResized in interface java.awt.event.ComponentListenerpublic void dispose()
dispose in interface de.grogra.util.Disposablepublic void mouseClicked(java.awt.event.MouseEvent e)
mouseClicked in interface java.awt.event.MouseListenerpublic void mouseEntered(java.awt.event.MouseEvent e)
mouseEntered in interface java.awt.event.MouseListenerpublic void componentHidden(java.awt.event.ComponentEvent e)
componentHidden in interface java.awt.event.ComponentListenerpublic void componentShown(java.awt.event.ComponentEvent e)
componentShown in interface java.awt.event.ComponentListenerpublic void componentMoved(java.awt.event.ComponentEvent e)
componentMoved in interface java.awt.event.ComponentListener