OFC Charts 3.1


com.oxymel.ofc.charts.series
Class CategoryValueSeries

java.lang.Object
  |
  +--com.oxymel.ofc.charts.series.Series
        |
        +--com.oxymel.ofc.charts.series.CategoryValueSeries

public class CategoryValueSeries
extends Series

Manage series of category value


Fields inherited from class com.oxymel.ofc.charts.series.Series
INDICATOR_TYPE_CIRCLE, INDICATOR_TYPE_SQUARE, INDICATOR_TYPE_TRIANGLE, NO_INDICATOR_TYPE
 
Constructor Summary
CategoryValueSeries(java.lang.String id, java.lang.String legendLabel)
          Constructor
 
Method Summary
 void addCategoryValue(CategoryValue categoryValue)
          Add a category value
 java.lang.Object clone()
          Get the clone
 CategoryValue getCategoryValue(java.lang.String categoryId)
          Get CategoryValue associated to categoryId
 double getCategoryValueAsDouble(java.lang.String categoryId)
          Get Value associated to category
 double getMaxValue()
          Get max value of series
 double getMinValue()
          Get min value of series
 
Methods inherited from class com.oxymel.ofc.charts.series.Series
drawIndicator, getColor, getId, getLegendLabel, hasIndicator, isVisible, setColor, setIndicatorType, setVisible
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CategoryValueSeries

public CategoryValueSeries(java.lang.String id,
                           java.lang.String legendLabel)
Constructor
Parameters:
id - Series id
legendLabel - Title of series in legend
Method Detail

clone

public java.lang.Object clone()
Get the clone
Returns:
the clone

addCategoryValue

public void addCategoryValue(CategoryValue categoryValue)
Add a category value
Parameters:
categoryValue - Category value to add

getCategoryValue

public CategoryValue getCategoryValue(java.lang.String categoryId)
Get CategoryValue associated to categoryId
Parameters:
categoryId - Category Id
Returns:
Value associated to category

getCategoryValueAsDouble

public double getCategoryValueAsDouble(java.lang.String categoryId)
Get Value associated to category
Parameters:
categoryId - Category Id
Returns:
Value associated to category

getMaxValue

public double getMaxValue()
                   throws OFCChartsException
Get max value of series
Returns:
Max value of series
Throws:
OFCChartsException -  

getMinValue

public double getMinValue()
                   throws OFCChartsException
Get min value of series
Returns:
Min value of series
Throws:
OFCChartsException -  

OFC Charts 3.1


Copyright © 2005 Oxymel SA All Rights Reserved.