com.moneydance.awt.graph
Class BarGraphModel

java.lang.Object
  extended bycom.moneydance.awt.graph.GraphModel
      extended bycom.moneydance.awt.graph.BarGraphModel

public class BarGraphModel
extends GraphModel


Field Summary
 
Fields inherited from class com.moneydance.awt.graph.GraphModel
threeD, title, valueLabeler, valueType
 
Constructor Summary
BarGraphModel(BarGraphDataSet[] dataSets, java.lang.String[] intervalLabels)
           
 
Method Summary
 GraphDataSet getDataSet(int dataSet)
           
 int getDataSetCount()
           
 double getDataSetValue(int dataSet, int interval)
           
 int getIntervalCount()
           
 java.lang.String getIntervalLabel(int interval)
           
 double getMaxValue()
           
 double getMinValue()
           
 double[] getTickValues(int lineHeight, int availableHeight)
           
 
Methods inherited from class com.moneydance.awt.graph.GraphModel
getLabelForValue, getTitle, getValueType, isThreeD, setThreeD, setTitle, setValueLabeler, setValueType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BarGraphModel

public BarGraphModel(BarGraphDataSet[] dataSets,
                     java.lang.String[] intervalLabels)
Method Detail

getDataSet

public GraphDataSet getDataSet(int dataSet)
Specified by:
getDataSet in class GraphModel

getDataSetCount

public int getDataSetCount()
Specified by:
getDataSetCount in class GraphModel

getIntervalLabel

public java.lang.String getIntervalLabel(int interval)

getTickValues

public double[] getTickValues(int lineHeight,
                              int availableHeight)

getIntervalCount

public int getIntervalCount()

getMaxValue

public double getMaxValue()

getMinValue

public double getMinValue()

getDataSetValue

public double getDataSetValue(int dataSet,
                              int interval)