com.googlecode.fascinator.portal.report
Class BarChartData

java.lang.Object
  extended by com.googlecode.fascinator.portal.report.BarChartData
All Implemented Interfaces:
ChartData

public class BarChartData
extends Object
implements ChartData


Nested Class Summary
 class BarChartData.DataEntry
           
static class BarChartData.LabelPos
           
 
Field Summary
protected  Color baseSeriesColor
           
protected  String colLabel
           
protected  BarChartData.LabelPos colLabelPos
           
protected  BarChartData.LabelPos colLegendPos
           
protected  ArrayList<BarChartData.DataEntry> entries
           
protected  int imgH
           
protected  int imgW
           
 String rowLabel
           
protected  boolean stacked
           
protected  String title
           
protected  boolean useSeriesColor
           
 
Constructor Summary
BarChartData(String title, String rowLabel, String colLabel, BarChartData.LabelPos colLabelPos, BarChartData.LabelPos colLegendPos, int imgW, int imgH, boolean stacked)
           
 
Method Summary
 void addEntry(Number value, String rowKey, String colKey)
           
 void addEntry(Number value, String rowKey, String colKey, Color seriesColor)
           
 Color getBaseSeriesColor()
           
 String getColLabel()
           
 BarChartData.LabelPos getColLabelPos()
           
 BarChartData.LabelPos getColLegendPos()
           
 ArrayList<BarChartData.DataEntry> getEntries()
           
 int getImgH()
           
 int getImgW()
           
 String getRowLabel()
           
 String getTitle()
           
 boolean isStacked()
           
 boolean isUseSeriesColor()
           
 void setBaseSeriesColor(Color baseSeriesColor)
           
 void setColLabel(String colLabel)
           
 void setColLabelPos(BarChartData.LabelPos colLabelPos)
           
 void setColLegendPos(BarChartData.LabelPos colLegendPos)
           
 void setImgH(int imgH)
           
 void setImgW(int imgW)
           
 void setRowLabel(String rowLabel)
           
 void setStacked(boolean stacked)
           
 void setTitle(String title)
           
 void setUseSeriesColor(boolean useSeriesColor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

BarChartData

public BarChartData(String title,
                    String rowLabel,
                    String colLabel,
                    BarChartData.LabelPos colLabelPos,
                    BarChartData.LabelPos colLegendPos,
                    int imgW,
                    int imgH,
                    boolean stacked)
Method Detail

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.