Package org.jzy3d.chart2d
Class Chart2dGroup
- java.lang.Object
-
- org.jzy3d.chart2d.Chart2dGroup
-
public class Chart2dGroup extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected Map<String,Chart2d>chartsprotected static Serie2d.TypeDEFAULT_SERIE_TYPE
-
Constructor Summary
Constructors Constructor Description Chart2dGroup(float timeMax, int ymin, int ymax, int chartNumber)Create a chart group for TIME series.Chart2dGroup(int ymin, int ymax, int chartNumber)Create a regular line chart group.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidasTimeCharts(float timeMax, float ymin, float ymax, String xlabel, String ylabel)ChartgetChart(int key)ChartgetChart(String key)Collection<Chart2d>getCharts()List<Chart>getCharts(int... keys)Serie2dgetSerie(int chartKey, int serieKey)Return the 2d serie of a chart.Serie2dgetSerie(String chartKey, String serieKey)protected Stringname(int id)voidsetAnimated(boolean status)Activate or not animators on the chart canvasesvoidsetBoundMode(ViewBoundMode mode)
-
-
-
Field Detail
-
DEFAULT_SERIE_TYPE
protected static Serie2d.Type DEFAULT_SERIE_TYPE
-
-
Method Detail
-
asTimeCharts
public void asTimeCharts(float timeMax, float ymin, float ymax, String xlabel, String ylabel)
-
setBoundMode
public void setBoundMode(ViewBoundMode mode)
-
setAnimated
public void setAnimated(boolean status)
Activate or not animators on the chart canvases- Parameters:
status-
-
getCharts
public Collection<Chart2d> getCharts()
-
getChart
public Chart getChart(int key)
-
getSerie
public Serie2d getSerie(int chartKey, int serieKey)
Return the 2d serie of a chart.- Parameters:
chartKey-serieKey- serie name in chart- Returns:
-
name
protected String name(int id)
-
-