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>
charts
protected static Serie2d.Type
DEFAULT_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 void
asTimeCharts(float timeMax, float ymin, float ymax, String xlabel, String ylabel)
Chart
getChart(int key)
Chart
getChart(String key)
Collection<Chart2d>
getCharts()
List<Chart>
getCharts(int... keys)
Serie2d
getSerie(int chartKey, int serieKey)
Return the 2d serie of a chart.Serie2d
getSerie(String chartKey, String serieKey)
protected String
name(int id)
void
setAnimated(boolean status)
Activate or not animators on the chart canvasesvoid
setBoundMode(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)
-
-