|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BarChartPlot
Encapsulates data and plot decorations that will be rendered in a
BarChart
. Construct with Plots
static factory class.
Data
,
DataUtil
,
BarChart
Nested Class Summary | |
---|---|
static class |
BarChartPlot.DataLine
Type for specifying a dataline sitting on top of the bar chart. |
Method Summary | |
---|---|
void |
setDataLine(int dataLineSize,
Color color,
Priority priority)
Add a data line on top of the bar chart and specify the color and Priority of that line. |
void |
setFillAreaColor(Color color)
Define a fill area color below this plot. |
void |
setZeroLine(double zeroLine)
Set the bar chart zero line for this plot. |
Methods inherited from interface com.googlecode.charts4j.Plot |
---|
addMarker, addMarkers, addShapeMarker, addShapeMarkers, addTextMarker, setColor, setLegend |
Method Detail |
---|
void setDataLine(int dataLineSize, Color color, Priority priority)
Priority
of that line.
dataLineSize
- The line thickness for this data line. Must be > 0.color
- The color of this data line. Cannot be null.priority
- The priority of this data line. Cannot be null.void setZeroLine(double zeroLine)
Data.MIN_VALUE
and Data.MAX_VALUE
corresponding to the
same numeric data range in the Data
class.
zeroLine
- the zeroLine to set between Data.MIN_VALUE
and
Data.MAX_VALUE
Data
,
DataUtil
void setFillAreaColor(Color color)
color
- The color of the fill area that will appear below this
particular plot. cannot be null.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |