|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectObj
com.jxcell.GRChart
This class provides methods for manipulating chart objects
Field Summary | |
static short |
eChartArea
|
static short |
eChartBar
|
static short |
eChartBubble
|
static short |
eChartColumn
|
static short |
eChartCombination
|
static short |
eChartDoughnut
|
static short |
eChartLine
|
static short |
eChartPie
|
static short |
eChartScatter
|
static short |
eChartStep
|
Constructor Summary | |
GRChart()
|
Method Summary | |
Obj |
clone(ChartCopyInfo copyinfo)
|
void |
copy(GRChart grobject,
ChartCopyInfo copyinfo)
|
ChartRect |
draw(DC m_dc,
int width,
int height)
|
java.lang.String |
getCategoryName(int index)
Returns the name of the specified Category |
Value |
getCategoryValue(int index)
|
Chart |
getChart()
|
ChartData |
getChartData()
get chart datasource |
short |
getChartType()
Returns the current chart type |
void |
getData(int row,
int col,
Array array1)
|
int |
getDataPointCount()
the datapoint count |
JCChart |
getJChart()
|
Palette |
getPalette()
|
int |
getSeriesCount()
series count |
java.lang.String |
getSeriesName(int iSeries)
Returns the name of the specified series |
Value |
getSeriesValue(int index)
return special series value object |
java.lang.String |
getTitle()
Returns the current chart title |
short |
getType()
|
boolean |
isBubble()
|
boolean |
isScatterBubble()
|
boolean |
isSeriesInRows()
Indicates whether series data is in rows |
void |
resetAll()
reset all chart format and chart data to default |
void |
resetData()
resetData reset the chart data |
void |
setChartData(ChartData chartData)
set chart data source |
void |
setChartType(short sType)
Sets the chart type |
void |
setTitle(java.lang.String title)
Sets the chart title |
void |
validateData()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final short eChartColumn
public static final short eChartLine
public static final short eChartArea
public static final short eChartStep
public static final short eChartBar
public static final short eChartCombination
public static final short eChartPie
public static final short eChartDoughnut
public static final short eChartScatter
public static final short eChartBubble
Constructor Detail |
public GRChart()
Method Detail |
public JCChart getJChart()
public Obj clone(ChartCopyInfo copyinfo) throws ChartException
ChartException
public void copy(GRChart grobject, ChartCopyInfo copyinfo) throws ChartException
ChartException
public Chart getChart()
public short getChartType()
public Palette getPalette()
public java.lang.String getTitle()
public short getType()
public boolean isSeriesInRows()
public ChartRect draw(DC m_dc, int width, int height)
public void resetData() throws ChartException
ChartException
public void setChartType(short sType) throws ChartException
sType
- The new chart type
ChartException
- if the chart type is invalidpublic void resetAll()
public void setTitle(java.lang.String title)
title
- The chart title as a formula or a text stringpublic boolean isScatterBubble()
public boolean isBubble()
public void validateData()
public java.lang.String getCategoryName(int index)
index
- An integer indicating the Category
public java.lang.String getSeriesName(int iSeries)
iSeries
- An integer indicating the series
public int getDataPointCount()
public Value getCategoryValue(int index)
public void getData(int row, int col, Array array1)
public int getSeriesCount()
public Value getSeriesValue(int index)
index
- index
public void setChartData(ChartData chartData)
chartData
- chart data sourcepublic ChartData getChartData()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |