|
OFC Charts 3.1 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.oxymel.ofc.charts.Chart | +--com.oxymel.ofc.charts.ChartWithAxisXY | +--com.oxymel.ofc.charts.BarChart | +--com.oxymel.ofc.charts.VerticalBarChart
This class manages vertical bar charts, it has subclasses allowing to customize the representation of the bar charts.
Fields inherited from class com.oxymel.ofc.charts.Chart |
ROTATE_180_DEGREE, ROTATE_270_DEGREE, ROTATE_90_DEGREE, ROTATE_NONE |
Constructor Summary | |
VerticalBarChart(int chartWidth,
int chartHeight,
HorizontalCategoryAxis axisX,
VerticalNumberAxis axisY,
CategoryValueSeriesContainer categoryValueSeriesContainer)
Constructor |
Method Summary | |
CategoryValueSeriesContainer |
getCategoryValueSeriesContainer()
Gets the series container defining the input data. |
void |
moveDataBack(double newValueAddAtEnd)
Replaces the first data series by the one given as argument and then provides a backward circular translation of data series. |
void |
moveDataBackCircular()
Provides a backward circular translation of data. |
void |
moveDataForward(double newValueAddAtStart)
Replaces the last data series by the one given as argument and then provides a forward circular translation of data series. |
void |
moveDataForwardCircular()
Provides a forward circular translation of data. |
void |
setCategoryValueSeriesContainer(CategoryValueSeriesContainer categoryValueSeriesContainer)
Replaces the data series used to draw the chart. |
void |
setLegendDisplayMode(int legendDisplayMode)
Sets the legend display mode. |
void |
setPercentageBarWidthMax(int percentageBarWidthMax)
Customizes the bar width by giving a maximum size. |
void |
setPercentageBarWidthMin(int percentageBarWidthMin)
Customizes the bar width by giving a minimum size. |
void |
setPercentageBetweenEachBarHisto(int percentageBetweenEachBarHisto)
Sets the free space beetween two bars. |
void |
setPercentageFreeAfterSeries(int percentageFreeAfterSeries)
Sets the free space after the last bar within a category. |
void |
setPercentageFreeBeforeSeries(int percentageFreeBeforeSeries)
Sets the free space before the first bar within a category. |
Methods inherited from class com.oxymel.ofc.charts.ChartWithAxisXY |
setGraphicVisible, setIGOriginAxisColor, setInternalGridVisible |
Methods inherited from class com.oxymel.ofc.charts.Chart |
drawAnimateSVG, drawAnimateSVG, drawAnimateSVG, drawAnimateSVG, drawAnimateSVG, drawJPEG, drawJPEG, drawPNG, drawPNG, drawSVG, drawSVG, drawSVG, drawSVG, drawSVG, drawSVG, get3dEffectValue, getAllSeriesOrderByDisplayNumber, getBufferedImage, set3dEffectValue, setBackgroundColorVisible, setColorPalette, setGraphicBackgroundColor, setImageBackgroundColor, setLegendAlignMode, setLegendFontSize, setNbPixelFreeArroundImageForPresentation, setRotateValue |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public VerticalBarChart(int chartWidth, int chartHeight, HorizontalCategoryAxis axisX, VerticalNumberAxis axisY, CategoryValueSeriesContainer categoryValueSeriesContainer)
chartWidth
- Width of vertical bar chartchartHeight
- Height of vertical bar chartaxisX
- Horizontal axis to display categoriesaxisY
- Vertical number axiscategoryValueSeriesContainer
- All series of couple category-valueMethod Detail |
public void moveDataBackCircular()
public void moveDataBack(double newValueAddAtEnd)
newValueAddAtEnd
- the new last data series in the container.public void moveDataForwardCircular()
public void moveDataForward(double newValueAddAtStart)
newValueAddAtStart
- the new first data series in the container.public void setLegendDisplayMode(int legendDisplayMode)
setLegendDisplayMode
in class Chart
legendDisplayMode
- The legend display mode to be set.Legend
public void setCategoryValueSeriesContainer(CategoryValueSeriesContainer categoryValueSeriesContainer)
categoryValueSeriesContainer
- All series defining the couples category-value, they are grouped within a series container.public CategoryValueSeriesContainer getCategoryValueSeriesContainer()
public void setPercentageBetweenEachBarHisto(int percentageBetweenEachBarHisto)
percentageBetweenEachBarHisto
- the free space percentage
beetween two barspublic void setPercentageFreeBeforeSeries(int percentageFreeBeforeSeries)
percentageFreeBeforeSeries
- the free space percentage before the
first barpublic void setPercentageFreeAfterSeries(int percentageFreeAfterSeries)
percentageFreeAfterSeries
- the free space percentage after the
last barpublic void setPercentageBarWidthMax(int percentageBarWidthMax)
percentageBarWidthMax
- the percentage of bar width maxpublic void setPercentageBarWidthMin(int percentageBarWidthMin)
percentageBarWidthMin
- the percentage of bar width min
|
OFC Charts 3.1 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |