|
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.ChartRenderer | +--com.oxymel.ofc.charts.BarChartRenderer | +--com.oxymel.ofc.charts.VerticalBarChartRenderer
This class provides a vertical bar chart renderer
Constructor Summary | |
VerticalBarChartRenderer(CategoryValueSeriesContainer categoryValueSeriesContainer)
Constructor |
Method Summary | |
CategoryValueSeriesContainer |
getCategoryValueSeriesContainer()
Get the container of couple category-value used to draw chart. |
boolean |
isBasedOnAxisRight()
is based on axis right |
void |
setCategoryValueSeriesContainer(CategoryValueSeriesContainer categoryValueSeriesContainer)
Change data used to draw chart |
void |
setIsBasedOnAxisRight(boolean isBasedOnAxisRight)
set flag is based on axis right |
void |
setNbPixelToMoveRendererStartPosition(int nbPixelToMoveRendererStartPosition)
set number of pixel to move renderer from start position |
void |
setPercentageBarWidthMax(int percentageBarWidthMax)
Sets the percentage of bar width max. 100% correspond to the size to display one category informations. |
void |
setPercentageBarWidthMin(int percentageBarWidthMin)
Sets the percentage of bar width min. 100% correspond to the size to display one category informations. |
void |
setPercentageBetweenEachBarHisto(int percentageBetweenEachBarHisto)
Sets the percentage beetween each bar. 100% correspond to the size to display one category informations. |
void |
setPercentageFreeAfterSeries(int percentageFreeAfterSeries)
Sets the percentage free after one bar series which correspond to a category. 100% correspond to the size to display one category informations. |
void |
setPercentageFreeBeforeSeries(int percentageFreeBeforeSeries)
Sets the percentage free before one bar series which correspond to a category. 100% correspond to the size to display one category informations. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public VerticalBarChartRenderer(CategoryValueSeriesContainer categoryValueSeriesContainer)
categoryValueSeriesContainer
- all category value seriesMethod Detail |
public void setIsBasedOnAxisRight(boolean isBasedOnAxisRight)
isBasedOnAxisRight
- = true for base renderer on axis right. False or default renderer is based on axis leftpublic boolean isBasedOnAxisRight()
public void setCategoryValueSeriesContainer(CategoryValueSeriesContainer categoryValueSeriesContainer)
categoryValueSeriesContainer
- All series of couple category-valuepublic CategoryValueSeriesContainer getCategoryValueSeriesContainer()
public void setPercentageBetweenEachBarHisto(int percentageBetweenEachBarHisto)
percentageBetweenEachBarHisto
- the percentage beetween each barpublic void setPercentageFreeBeforeSeries(int percentageFreeBeforeSeries)
percentageFreeBeforeSeries
- the percentage free before one bar seriespublic void setPercentageFreeAfterSeries(int percentageFreeAfterSeries)
percentageFreeAfterSeries
- the percentage free after one bar seriespublic void setPercentageBarWidthMax(int percentageBarWidthMax)
percentageBarWidthMax
- the percentage of bar width maxpublic void setPercentageBarWidthMin(int percentageBarWidthMin)
percentageBarWidthMin
- the percentage of bar width minpublic void setNbPixelToMoveRendererStartPosition(int nbPixelToMoveRendererStartPosition)
nbPixelToMoveRendererStartPosition
- number of pixel to move renderer from start position
|
OFC Charts 3.1 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |