public class Chart2dGroup extends Object
Modifier and Type | Field and Description |
---|---|
protected Map<String,Chart2d> |
charts |
protected static Serie2d.Type |
DEFAULT_SERIE_TYPE |
Constructor and 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.
|
Modifier and Type | Method and 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 canvases
|
void |
setBoundMode(ViewBoundMode mode) |
protected static Serie2d.Type DEFAULT_SERIE_TYPE
public Chart2dGroup(float timeMax, int ymin, int ymax, int chartNumber)
public Chart2dGroup(int ymin, int ymax, int chartNumber)
public void asTimeCharts(float timeMax, float ymin, float ymax, String xlabel, String ylabel)
public void setBoundMode(ViewBoundMode mode)
public void setAnimated(boolean status)
status
- public Collection<Chart2d> getCharts()
public Chart getChart(int key)
public Serie2d getSerie(int chartKey, int serieKey)
chartKey
- serieKey
- serie name in chartprotected String name(int id)
Copyright © 2018. All rights reserved.