com.googlecode.fascinator.portal.report
Class BarChartData
java.lang.Object
com.googlecode.fascinator.portal.report.BarChartData
- All Implemented Interfaces:
- ChartData
public class BarChartData
- extends Object
- implements ChartData
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
rowLabel
public String rowLabel
colLabel
protected String colLabel
title
protected String title
entries
protected ArrayList<BarChartData.DataEntry> entries
colLabelPos
protected BarChartData.LabelPos colLabelPos
colLegendPos
protected BarChartData.LabelPos colLegendPos
useSeriesColor
protected boolean useSeriesColor
baseSeriesColor
protected Color baseSeriesColor
imgW
protected int imgW
imgH
protected int imgH
stacked
protected boolean stacked
BarChartData
public BarChartData(String title,
String rowLabel,
String colLabel,
BarChartData.LabelPos colLabelPos,
BarChartData.LabelPos colLegendPos,
int imgW,
int imgH,
boolean stacked)
addEntry
public void addEntry(Number value,
String rowKey,
String colKey)
- Specified by:
addEntry in interface ChartData
addEntry
public void addEntry(Number value,
String rowKey,
String colKey,
Color seriesColor)
- Specified by:
addEntry in interface ChartData
getEntries
public ArrayList<BarChartData.DataEntry> getEntries()
getImgW
public int getImgW()
setImgW
public void setImgW(int imgW)
getImgH
public int getImgH()
setImgH
public void setImgH(int imgH)
getTitle
public String getTitle()
setTitle
public void setTitle(String title)
getColLabel
public String getColLabel()
setColLabel
public void setColLabel(String colLabel)
getRowLabel
public String getRowLabel()
setRowLabel
public void setRowLabel(String rowLabel)
getColLabelPos
public BarChartData.LabelPos getColLabelPos()
setColLabelPos
public void setColLabelPos(BarChartData.LabelPos colLabelPos)
getColLegendPos
public BarChartData.LabelPos getColLegendPos()
setColLegendPos
public void setColLegendPos(BarChartData.LabelPos colLegendPos)
isUseSeriesColor
public boolean isUseSeriesColor()
setUseSeriesColor
public void setUseSeriesColor(boolean useSeriesColor)
getBaseSeriesColor
public Color getBaseSeriesColor()
setBaseSeriesColor
public void setBaseSeriesColor(Color baseSeriesColor)
isStacked
public boolean isStacked()
setStacked
public void setStacked(boolean stacked)
Copyright © 2009-2013. All Rights Reserved.