|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--com.odesys.chart.image.ChartImage
|
+--com.odesys.chart.image.BarChartImage
BarChartImage creates a Bar Chart image in JPEG format and writes its data into an OutputStream.
| Constructor Summary | |
BarChartImage()
Creates new BarChartImage instance |
|
| Method Summary | |
protected Chart |
createChart()
Factory method that creates the Chart instance for this BarChartImage. |
Axis |
getCategoriesAxis()
Gets the axis of the Categories. |
Axis |
getValuesAxis()
Gets the axis of the Values. |
void |
setAxisXPosition(int pos)
Sets the position of the X axis. |
void |
setAxisYPosition(int pos)
Sets the position of the Y axis. |
void |
setBarGap(float gap)
Sets the gap between the Bars. |
void |
setCategoryGap(float gap)
Sets the gap between the Categories. |
void |
setMode(int mode)
Sets the mode of this BarChartImage. |
void |
setOrientation(int orientation)
Sets the orientation of the bar chart in this BarChartImage. |
void |
setSeriesReversed(boolean reversed)
Determines the order in which the Bars for the differen Series show up within the Category. |
void |
setZVector(float x,
float y)
Sets the depth vector. |
| Methods inherited from class com.odesys.chart.image.ChartImage |
getChart, getModel, setBackground, setChartBackground, setChartContoursVisible, setChartFont, setChartForeground, setFont, setLabelsVisible, setLegendBackground, setLegendContoursVisible, setLegendFont, setLegendForeground, setLegendVisible, setModel, setQuality, setSize, write |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BarChartImage()
| Method Detail |
protected Chart createChart()
createChart in class ChartImagepublic void setMode(int mode)
mode - The mode of this BarChartImage.public void setOrientation(int orientation)
orientation - The orientation of the bar chart in this BarChartImage
(BarChartView.HORIZONTAL or BarChartView.VERTICAL).public void setBarGap(float gap)
gap - The gap between the Bars.public void setCategoryGap(float gap)
gap - The gap between the Categories.public void setSeriesReversed(boolean reversed)
reversed - The order of the bars within the Category.
public void setZVector(float x,
float y)
x - the x component of the depth vector.y - the y component of the depth vector.public Axis getValuesAxis()
public Axis getCategoriesAxis()
public void setAxisXPosition(int pos)
pos - The position of the X axis.public void setAxisYPosition(int pos)
pos - The position of the Y axis.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||