|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.googlecode.charts4j.GCharts
public final class GCharts
Static factory class for GChart
hierarchy.
Method Summary | |
---|---|
static BarChart |
newBarChart(BarChartPlot... plots)
Create a BarChart . |
static BarChart |
newBarChart(List<? extends Plot> plots)
Create a BarChart . |
static BarChart |
newBarChart(Plot... plots)
Create a BarChart . |
static GoogleOMeter |
newGoogleOMeter(double data)
Create a GoogleOMeter . |
static GoogleOMeter |
newGoogleOMeter(double data,
String label,
Color... colors)
Create a GoogleOMeter . |
static GoogleOMeter |
newGoogleOMeter(double data,
String label,
List<? extends Color> colors)
Create a GoogleOMeter . |
static LineChart |
newLineChart(Line... plots)
Create a LineChart . |
static LineChart |
newLineChart(List<? extends Plot> plots)
Create a LineChart . |
static LineChart |
newLineChart(Plot... plots)
Create a LineChart . |
static MapChart |
newMapChart(GeographicalArea geographicalArea)
Create a map chart with a GeographicalArea . |
static PieChart |
newPieChart(List<? extends Slice> slices)
Create a PieChart with the given pie slices. |
static PieChart |
newPieChart(Slice... slices)
Create a PieChart with the given pie slices. |
static RadarChart |
newRadarChart(List<? extends Plot> plots)
Create a RadarChart . |
static RadarChart |
newRadarChart(Plot... plots)
Create a RadarChart . |
static RadarChart |
newRadarChart(RadarPlot... plots)
Create a RadarChart . |
static ScatterPlot |
newScatterPlot(Plot scatterPlotData)
Create a ScatterPlot . |
static ScatterPlot |
newScatterPlot(ScatterPlotData scatterPlotData)
Create a ScatterPlot with the given scatter plot data. |
static VennDiagram |
newVennDiagram(double circle1Size,
double circle2Size,
double circle3Size,
double abIntersect,
double bcIntersect,
double caIntersect,
double abcIntersect)
Create a Venn Diagram. |
static XYLineChart |
newXYLineChart(List<? extends Plot> plots)
Create a XYLineChart with the given plots. |
static XYLineChart |
newXYLineChart(Plot... plots)
Create a XYLineChart with the given plots. |
static XYLineChart |
newXYLineChart(XYLine... plots)
Create a XYLineChart with the given XYLines. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static LineChart newLineChart(Line... plots)
LineChart
. Supply this method with one or more
Line
s to be rendered by this chart.
plots
- Lines to be rendered in this line chart. Cannot be null or
contain a null.
Line
,
LineChart
,
Plots
public static LineChart newLineChart(Plot... plots)
LineChart
. Supply this method with one or more
Plot
s to be rendered by this chart.
plots
- Plots to be rendered in this line chart. Cannot be null or
contain a null.
Plot
,
LineChart
,
Plots
public static LineChart newLineChart(List<? extends Plot> plots)
LineChart
. Supply this method with one or more
Plot
s to be rendered by this chart.
plots
- Plots to be rendered in this line chart. Cannot be null or
contain a null.
Plot
,
LineChart
,
Plots
public static RadarChart newRadarChart(RadarPlot... plots)
RadarChart
. Supply this method with one or more
RadarPlot
s to be rendered by this chart.
plots
- Radar plots to be rendered in this radar chart. Cannot be null
or contain a null.
RadarPlot
,
RadarChart
,
Plots
public static RadarChart newRadarChart(Plot... plots)
RadarChart
. Supply this method with one or more
Plot
s to be rendered by this chart.
plots
- Radar plots to be rendered in this radar chart. Cannot be null
or contain a null.
Plot
,
RadarChart
,
Plots
public static RadarChart newRadarChart(List<? extends Plot> plots)
RadarChart
. Supply this method with one or more
Plot
s to be rendered by this chart.
plots
- Radar plots to be rendered in this radar chart. Cannot be null
or contain a null.
Plot
,
RadarChart
,
Plots
public static BarChart newBarChart(BarChartPlot... plots)
BarChart
. Supply this method with one or more
BarChartPlot
s to be rendered by this chart.
plots
- Bar chart plots to be rendered in this bar chart. Cannot be
null or contain null.
BarChartPlot
,
BarChart
,
Plots
public static BarChart newBarChart(Plot... plots)
BarChart
. Supply this method with one or more
Plot
s to be rendered by this chart.
plots
- Plots to be rendered in this bar chart. Cannot be null or contain a null.
Plot
,
BarChart
,
Plots
public static BarChart newBarChart(List<? extends Plot> plots)
BarChart
. Supply this method with one or more
Plot
s to be rendered by this chart.
plots
- Plots to be rendered in this bar chart. Cannot be null or
contain a null.
Plot
,
BarChart
,
Plots
public static XYLineChart newXYLineChart(XYLine... plots)
XYLineChart
with the given XYLines.
plots
- XYLines to be rendered in this line chart. Cannot be null or
contain a null.
XYLine
,
Plots
,
XYLineChart
public static XYLineChart newXYLineChart(Plot... plots)
XYLineChart
with the given plots.
plots
- Plots to be rendered in this line chart. Cannot be null or
contain a null.
XYLine
,
Plot
,
Plots
,
XYLineChart
public static XYLineChart newXYLineChart(List<? extends Plot> plots)
XYLineChart
with the given plots.
plots
- Plots to be rendered in this line chart. Cannot be null or
contain a null.
XYLine
,
Plot
,
Plots
,
XYLineChart
public static ScatterPlot newScatterPlot(ScatterPlotData scatterPlotData)
ScatterPlot
with the given scatter plot data.
scatterPlotData
- Scatter plot data to be rendered in this scatter plot. Cannot
be null.
ScatterPlotData
,
ScatterPlot
public static ScatterPlot newScatterPlot(Plot scatterPlotData)
ScatterPlot
.
scatterPlotData
- Scatter plot data to be rendered in this scatter plot. Cannot be null.
ScatterPlotData
,
ScatterPlot
public static PieChart newPieChart(Slice... slices)
PieChart
with the given pie slices.
slices
- Slices of the pie chart. Cannot be null or
contain a null.
Slice
,
PieChart
public static PieChart newPieChart(List<? extends Slice> slices)
PieChart
with the given pie slices.
slices
- Slices of the pie chart. Cannot be null or
contain a null.
Slice
,
PieChart
public static VennDiagram newVennDiagram(double circle1Size, double circle2Size, double circle3Size, double abIntersect, double bcIntersect, double caIntersect, double abcIntersect)
circle1Size
- the first three values specify the relative sizes of three
circles, A, B, and Ccircle2Size
- the first three values specify the relative sizes of three
circles, A, B, and Ccircle3Size
- the first three values specify the relative sizes of three
circles, A, B, and CabIntersect
- the fourth value specifies the area of A intersecting BbcIntersect
- the fifth value specifies the area of B intersecting CcaIntersect
- the sixth value specifies the area of C intersecting AabcIntersect
- the seventh value specifies the area of A intersecting B
intersecting C
public static GoogleOMeter newGoogleOMeter(double data)
GoogleOMeter
.
data
- A number between 0 and 100.
public static GoogleOMeter newGoogleOMeter(double data, String label, Color... colors)
GoogleOMeter
.
data
- A number between 0 and 100.label
- Label that will appear at the top of the arrow. Cannot be
null.colors
- Must provide at least two color. Colors will be interpolated
between colors provided. Must supply at least two colors.
Cannot be null.
public static GoogleOMeter newGoogleOMeter(double data, String label, List<? extends Color> colors)
GoogleOMeter
.
data
- A number between 0 and 100.label
- Label that will appear at the top of the arrow. Cannot be
null.colors
- Must provide at least two color. Colors will be interpolated
between colors provided. Must supply at least two colors.
Cannot be null.
public static MapChart newMapChart(GeographicalArea geographicalArea)
GeographicalArea
.
geographicalArea
- Pass in the GeographicalArea
. Cannot be null.
GeographicalArea
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |