|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.odftoolkit.simple.chart.Chart
public class Chart
Chart represents the chart feature of the ODF document.
Chart provides methods to get/set chart title, get/set chart
data, etc.
| Method Summary | |
|---|---|
String |
getAxisTitle(String dimType)
chart axis manipulation, temporarily only consider the axis title |
DataSet |
getChartData()
chart data manipulation, get the chart data |
String |
getChartID()
chart id manipulation, get the current chart id |
String |
getChartTitle()
chart title manipulation, get the current chart title |
ChartType |
getChartType()
chart type manipulation, get the current chart type |
boolean |
IsApply3DEffect()
3D effect manipulation, get whether the chart apples 3D effect |
boolean |
isUseLegend()
chart legend manipulation |
void |
refreshChart()
Refresh chart view and data setting. |
void |
setApply3DEffect(boolean _3deffect)
3D effect manipulation, set to apply 3D effect |
void |
setAxisTitle(String dimType,
String title)
chart axis manipulation, set the chart axis title according to the give dimension |
void |
setChartData(DataSet dataset)
chart data manipulation, set chart data |
boolean |
setChartTitle(String title)
chart title manipulation, get the current chart title |
void |
setChartType(ChartType type)
chart type manipulation, set a chart type when chart type is changed, all the corresponding chart behaviors and properties should be changed accordingly |
void |
setUseLegend(boolean useLegend)
chart legend manipulation, get whether the chart use legend |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public boolean IsApply3DEffect()
public String getAxisTitle(String dimType)
dimType - the chart axis dimension, x, y or z
public DataSet getChartData()
public String getChartTitle()
public ChartType getChartType()
public String getChartID()
public boolean isUseLegend()
public void setApply3DEffect(boolean _3deffect)
_3deffect - a flag specifying whether or not apply a 3D effect
public void setAxisTitle(String dimType,
String title)
dimType - the chart axis dimension, x,y, or ztitle - the title of axispublic void setChartData(DataSet dataset)
dataset - the data set for the chart, which is a 2 dimensional data
containerpublic boolean setChartTitle(String title)
public void setChartType(ChartType type)
type - the type of chartpublic void setUseLegend(boolean useLegend)
useLegend - a flag specifying whether or not use legendpublic void refreshChart()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||