|
EchoPoint API - 3.0.0b5 App Webcontainer |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectechopoint.google.chart.model.ChartData<N>
public class ChartData<N extends Number>
A model object that represents a data set that is to be plotted. Note that
the data models are designed to correspond to the way Google expecte data
and hence does not provide a more logical Point class. A
point class would not work naturally for bar charts either.
| Constructor Summary | |
|---|---|
ChartData()
Default constructor. |
|
ChartData(Collection<N> xdata,
int xmax)
Create a new instance using the mandatory field values. |
|
| Method Summary | |
|---|---|
String |
getColor()
Accessor for property 'color'. |
String |
getLegend()
Accessor for property 'legend'. |
Collection<ShapeMarker> |
getMarkers()
Accessor for property 'markers'. |
Collection<N> |
getXdata()
Accessor for property 'xdata'. |
int |
getXmax()
Accessor for property 'xmax'. |
Collection<N> |
getYdata()
Accessor for property 'ydata'. |
int |
getYmax()
Accessor for property 'ymax'. |
void |
setColor(String color)
Mutator for property 'color'. |
void |
setLegend(String legend)
Mutator for property 'legend'. |
void |
setMarkers(Collection<ShapeMarker> markers)
Mutator for property 'markers'. |
void |
setXdata(Collection<N> xdata)
Mutator for property 'xdata'. |
void |
setXmax(int xmax)
Mutator for property 'xmax'. |
void |
setYdata(Collection<N> ydata)
Mutator for property 'ydata'. |
void |
setYmax(int ymax)
Mutator for property 'ymax'. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ChartData()
public ChartData(Collection<N> xdata,
int xmax)
xdata - The xdata to use.xmax - The xmax to use.| Method Detail |
|---|
public Collection<N> getXdata()
public void setXdata(Collection<N> xdata)
xdata - Value to set for property 'xdata'.public int getXmax()
xmax is not defined, return
the maximum value from xdata.
public void setXmax(int xmax)
xmax - Value to set for property 'xmax'.public Collection<N> getYdata()
public void setYdata(Collection<N> ydata)
ydata - Value to set for property 'ydata'.public int getYmax()
public void setYmax(int ymax)
ymax - Value to set for property 'ymax'.public String getColor()
public void setColor(String color)
color - Value to set for property 'color'.public String getLegend()
public void setLegend(String legend)
legend - Value to set for property 'legend'.public Collection<ShapeMarker> getMarkers()
public void setMarkers(Collection<ShapeMarker> markers)
markers - Value to set for property 'markers'.
|
EchoPoint API - 3.0.0b5 App Webcontainer |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||