|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.jCharts.chartText.BarValueGroup
Nested Class Summary | |
protected class |
BarValueGroup.BarValue
Helper class to handle a barValue - wraps TextTag Meant to be called only by BarValueGroup class. |
Field Summary | |
private AxisChart |
axisChart
|
private AxisProperties |
axisProperties
|
private BarChartProperties |
barChartProperties
|
private java.awt.Font |
barValueFont
|
private java.awt.Paint |
barValueFontColor
|
private int |
barValueItem
|
private int |
barValuePosition
|
private float |
centerChart
|
private java.awt.font.FontRenderContext |
fontRenderContext
|
private float |
horizontalPadding
|
private boolean |
isVertical
|
private java.text.NumberFormat |
numberFormat
|
private boolean |
showBarValues
|
private java.util.ArrayList |
textTagList
|
private double |
totalDataValue
|
private float |
verticalPadding
|
Constructor Summary | |
BarValueGroup(AxisChart axisChart,
IAxisChartDataSet iAxisChartDataSet)
|
Method Summary | |
void |
addBarValue(int i,
double dataValue,
java.awt.geom.Rectangle2D.Float barRect)
Adds a bar value for the given data item, if barValues are on |
private java.lang.String |
getBarValueAt(int i,
double dataValue)
Gets the text associated (by the user) for the given bar value. |
private java.awt.geom.Rectangle2D.Float |
getBarValueRectangleCoordinates(int position,
BarValueGroup.BarValue barValue)
Gets the rectangle coords associated (by the user) for the given bar value. |
private float |
getBottom(java.awt.geom.Rectangle2D.Float r)
Not sure why this was left out of Rectangle2D... |
private float |
getRight(java.awt.geom.Rectangle2D.Float r)
Not sure why this was left out of Rectangle2D... |
void |
render(java.awt.Graphics2D g2d)
renders any barValues |
private void |
setBarValuePosition(BarValueGroup.BarValue barValue,
java.awt.geom.Rectangle2D.Float bounds)
Gets the rectangle associated (by the user) for the given bar value. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private AxisChart axisChart
private java.awt.font.FontRenderContext fontRenderContext
private boolean isVertical
private BarChartProperties barChartProperties
private AxisProperties axisProperties
private java.text.NumberFormat numberFormat
private boolean showBarValues
private int barValuePosition
private int barValueItem
private java.awt.Font barValueFont
private java.awt.Paint barValueFontColor
private float horizontalPadding
private float verticalPadding
private double totalDataValue
private float centerChart
private java.util.ArrayList textTagList
Constructor Detail |
public BarValueGroup(AxisChart axisChart, IAxisChartDataSet iAxisChartDataSet)
Method Detail |
private java.lang.String getBarValueAt(int i, double dataValue)
private java.awt.geom.Rectangle2D.Float getBarValueRectangleCoordinates(int position, BarValueGroup.BarValue barValue)
private float getRight(java.awt.geom.Rectangle2D.Float r)
private float getBottom(java.awt.geom.Rectangle2D.Float r)
private void setBarValuePosition(BarValueGroup.BarValue barValue, java.awt.geom.Rectangle2D.Float bounds)
public void addBarValue(int i, double dataValue, java.awt.geom.Rectangle2D.Float barRect)
public void render(java.awt.Graphics2D g2d)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |