public class Chart3DFactory extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static Chart3D |
createAreaChart(java.lang.String title,
java.lang.String subtitle,
CategoryDataset3D dataset,
java.lang.String rowAxisLabel,
java.lang.String columnAxisLabel,
java.lang.String valueAxisLabel)
Creates and returns an area chart based on the supplied dataset.
|
static Chart3D |
createBarChart(java.lang.String title,
java.lang.String subtitle,
CategoryDataset3D dataset,
java.lang.String rowAxisLabel,
java.lang.String columnAxisLabel,
java.lang.String valueAxisLabel)
Creates and returns a bar chart based on the supplied dataset.
|
static Chart3D |
createLineChart(java.lang.String title,
java.lang.String subtitle,
CategoryDataset3D dataset,
java.lang.String rowAxisLabel,
java.lang.String columnAxisLabel,
java.lang.String valueAxisLabel)
Creates and returns a line chart based on the supplied dataset.
|
static Chart3D |
createPieChart(java.lang.String title,
java.lang.String subtitle,
PieDataset3D dataset)
Creates and returns a pie chart based on the supplied dataset.
|
static Chart3D |
createScatterChart(java.lang.String title,
java.lang.String subtitle,
XYZDataset dataset,
java.lang.String xAxisLabel,
java.lang.String yAxisLabel,
java.lang.String zAxisLabel)
Creates and returns a scatter plot based on the supplied dataset
(containing one or more series of
(x, y, z) values). |
static Chart3D |
createStackedBarChart(java.lang.String title,
java.lang.String subtitle,
CategoryDataset3D dataset,
java.lang.String rowAxisLabel,
java.lang.String columnAxisLabel,
java.lang.String valueAxisLabel)
Creates and returns a stacked bar chart based on the supplied dataset.
|
static Chart3D |
createSurfaceChart(java.lang.String title,
java.lang.String subtitle,
Function3D function,
java.lang.String xAxisLabel,
java.lang.String yAxisLabel,
java.lang.String zAxisLabel)
Creates a surface chart for the specified function.
|
static Chart3D |
createXYZBarChart(java.lang.String title,
java.lang.String subtitle,
XYZDataset dataset,
java.lang.String xAxisLabel,
java.lang.String yAxisLabel,
java.lang.String zAxisLabel)
Creates and returns a bar chart based on the supplied dataset (this is
for special cases, most general cases will be covered by the
createBarChart(String, String, CategoryDataset3D, String, String, String)
method). |
static Chart3D |
createXYZLineChart(java.lang.String title,
java.lang.String subtitle,
XYZDataset dataset,
java.lang.String xAxisLabel,
java.lang.String yAxisLabel,
java.lang.String zAxisLabel)
Creates and returns a line chart based on the supplied dataset.
|
static ChartStyle |
getDefaultChartStyle()
Returns a new instance of the default chart style (so that, by default,
all charts will have an independent style instance).
|
static void |
setDefaultChartStyle(ChartStyle style)
Sets the style that will be used when creating new charts.
|
public static ChartStyle getDefaultChartStyle()
null).public static void setDefaultChartStyle(ChartStyle style)
style - the style (null not permitted).public static Chart3D createPieChart(java.lang.String title, java.lang.String subtitle, PieDataset3D dataset)
PiePlot3D instance (so it is safe to cast the result of
chart.getPlot()).
title - the chart title (null permitted).subtitle - the chart subtitle (null permitted).dataset - the dataset (null not permitted).null).public static Chart3D createBarChart(java.lang.String title, java.lang.String subtitle, CategoryDataset3D dataset, java.lang.String rowAxisLabel, java.lang.String columnAxisLabel, java.lang.String valueAxisLabel)
CategoryPlot3D using a BarRenderer3D (so it is
safe to cast the plot and/or renderer to customise attributes that are
specific to those subclasses).
title - the chart title (null permitted).subtitle - the chart subtitle (null permitted).dataset - the dataset (null not permitted).rowAxisLabel - the row axis label (null permitted).columnAxisLabel - the column axis label (null
permitted).valueAxisLabel - the value axis label (null permitted).null).public static Chart3D createStackedBarChart(java.lang.String title, java.lang.String subtitle, CategoryDataset3D dataset, java.lang.String rowAxisLabel, java.lang.String columnAxisLabel, java.lang.String valueAxisLabel)
CategoryPlot3D using a StackedBarRenderer3D (so it is
safe to cast the plot and/or renderer to customise attributes that
are specific to those subclasses).
title - the chart title (null permitted).subtitle - the chart subtitle (null permitted).dataset - the dataset (null not permitted).rowAxisLabel - the row axis label (null permitted).columnAxisLabel - the column axis label (null permitted).valueAxisLabel - the value axis label (null permitted).null).public static Chart3D createAreaChart(java.lang.String title, java.lang.String subtitle, CategoryDataset3D dataset, java.lang.String rowAxisLabel, java.lang.String columnAxisLabel, java.lang.String valueAxisLabel)
CategoryPlot3D using an AreaRenderer3D (so it is safe
to cast the plot and/or renderer to customise attributes that are
specific to those subclasses).
title - the chart title (null permitted).subtitle - the chart subtitle (null permitted).dataset - the dataset (null not permitted).rowAxisLabel - the row axis label (null permitted).columnAxisLabel - the column axis label (null permitted).valueAxisLabel - the value axis label (null permitted).null).public static Chart3D createLineChart(java.lang.String title, java.lang.String subtitle, CategoryDataset3D dataset, java.lang.String rowAxisLabel, java.lang.String columnAxisLabel, java.lang.String valueAxisLabel)
CategoryPlot3D using a LineRenderer3D (so it is safe
to cast the plot and/or renderer to customise attributes that are
specific to those subclasses).
title - the chart title (null permitted).subtitle - the chart subtitle (null permitted).dataset - the dataset (null not permitted).rowAxisLabel - the row axis label (null permitted).columnAxisLabel - the column axis label (null permitted).valueAxisLabel - the value axis label (null permitted).null).public static Chart3D createScatterChart(java.lang.String title, java.lang.String subtitle, XYZDataset dataset, java.lang.String xAxisLabel, java.lang.String yAxisLabel, java.lang.String zAxisLabel)
(x, y, z) values). The
chart returned by this method will be constructed with an
XYZPlot using a ScatterXYZRenderer (so it is safe
to cast the plot and/or renderer to customise attributes that are
specific to those subclasses).
title - the chart title (null permitted).subtitle - the chart subtitle (null permitted).dataset - the dataset (null not permitted).xAxisLabel - the x-axis label (null permitted).yAxisLabel - the y-axis label (null permitted).zAxisLabel - the z-axis label (null permitted).public static Chart3D createSurfaceChart(java.lang.String title, java.lang.String subtitle, Function3D function, java.lang.String xAxisLabel, java.lang.String yAxisLabel, java.lang.String zAxisLabel)
title - the chart title (null permitted).subtitle - the chart subtitle (null permitted).function - the function (null not permitted).xAxisLabel - the x-axis label (null permitted).yAxisLabel - the y-axis label (null permitted).zAxisLabel - the z-axis label (null permitted).public static Chart3D createXYZBarChart(java.lang.String title, java.lang.String subtitle, XYZDataset dataset, java.lang.String xAxisLabel, java.lang.String yAxisLabel, java.lang.String zAxisLabel)
createBarChart(String, String, CategoryDataset3D, String, String, String)
method). The chart returned by this method will be constructed with an
XYZPlot using a BarXYZRenderer (so it is safe
to cast the plot and/or renderer to customise attributes that are
specific to those subclasses).
title - the chart title (null permitted).subtitle - the chart subtitle (null permitted).dataset - the dataset (null not permitted).xAxisLabel - the x-axis label (null permitted).yAxisLabel - the y-axis label (null permitted).zAxisLabel - the z-axis label (null permitted).public static Chart3D createXYZLineChart(java.lang.String title, java.lang.String subtitle, XYZDataset dataset, java.lang.String xAxisLabel, java.lang.String yAxisLabel, java.lang.String zAxisLabel)
XYZPlot using a LineXYZRenderer (so it is safe
to cast the plot and/or renderer to customise attributes that are
specific to those subclasses).title - the chart title (null permitted).subtitle - the chart subtitle (null permitted).dataset - the dataset (null not permitted).xAxisLabel - the x-axis label (null permitted).yAxisLabel - the y-axis label (null permitted).zAxisLabel - the z-axis label (null permitted).