Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.eltima.chart
Class ELChartDataModel

    java.lang.Object
      com.eltima.chart.ELChartDataModel

public class ELChartDataModel
extends java.lang.Object

The ELChartDataModel class.

Copyright: Copyright (c) 2000-2005

Company: Eltima Software

Version:
  4.0
Author:
  [SoftInfinity Dpt.]

Constructor Summary
`ELChartDataModel()` Creates new instance of ELChartDataModel.
`ELChartDataModel(java.lang.String[] series, java.lang.String[] categories, java.lang.Number[][] data)` Creates new instance of ELChartDataModel with specified series, categories and data.

Method Summary
`java.lang.String[]` | `getCategories()` Returns model cetegories.
`java.lang.String` | `getCategoriesAt(int row)` Returns catogories for specified row.
`int` | `getCategoriesCount()` Returns number of categories.
`double` | `getCategorySum(int category)` Returns sum values for specified category.
`java.lang.Number[][]` | `getData()` Returns model data.
`java.lang.Number` | `getMaxValue()` Returns data maximum value.
`java.lang.Number` | `getMinValue()` Returns data minimum value.
`double` | `getNegMaxPsCategory()` Returns maximum sum negative values persent per categories.
`double` | `getNegMaxSumCategory()` Returns maximum sum negative values per categories.
`double` | `getPosMaxPsCategory()` Returns maximum sum positive values percent per categories.
`double` | `getPosMaxSumCategory()` Returns maximum sum positive values per categories.
`java.lang.String[]` | `getSeries()` Returns model series.
`java.lang.String` | `getSeriesAt(int column)` Returns series for specified column.
`int` | `getSeriesCount()` Returns number of series.
`void` | `setData(java.lang.String[] series, java.lang.String[] categories, java.lang.Number[][] data)` Sets specified series, categories and data.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ELChartDataModel

    public ELChartDataModel()

  Creates new instance of ELChartDataModel.

### ELChartDataModel

    public ELChartDataModel(java.lang.String[] series,
                            java.lang.String[] categories,
                            java.lang.Number[][] data)

  Creates new instance of ELChartDataModel with specified series, categories and data.

Method Detail

### setData

    public void setData(java.lang.String[] series,
                        java.lang.String[] categories,
                        java.lang.Number[][] data)

  Sets specified series, categories and data.

  Parameters:
    `series` - String[]
    `categories` - String[]
    `data` - Number[][]

### getData

    public java.lang.Number[][] getData()

  Returns model data.

  Returns:
    Number[][]

### getCategories

    public java.lang.String[] getCategories()

  Returns model cetegories.

  Returns:
    String[]

### getSeries

    public java.lang.String[] getSeries()

  Returns model series.

  Returns:
    String[]

### getCategoriesCount

    public int getCategoriesCount()

  Returns number of categories.

  Returns:
    int

### getSeriesCount

    public int getSeriesCount()

  Returns number of series.

  Returns:
    int

### getCategoriesAt

    public java.lang.String getCategoriesAt(int row)

  Returns catogories for specified row.

  Parameters:
    `row` - int
  Returns:
    String

### getSeriesAt

    public java.lang.String getSeriesAt(int column)

  Returns series for specified column.

  Parameters:
    `column` - int
  Returns:
    String

### getMaxValue

    public java.lang.Number getMaxValue()

  Returns data maximum value.

  Returns:
    Number

### getMinValue

    public java.lang.Number getMinValue()

  Returns data minimum value.

  Returns:
    Number

### getCategorySum

    public double getCategorySum(int category)

  Returns sum values for specified category.

  Parameters:
    `category` - int
  Returns:
    double

### getNegMaxSumCategory

    public double getNegMaxSumCategory()

  Returns maximum sum negative values per categories.

  Returns:
    double

### getPosMaxSumCategory

    public double getPosMaxSumCategory()

  Returns maximum sum positive values per categories.

  Returns:
    double

### getNegMaxPsCategory

    public double getNegMaxPsCategory()

  Returns maximum sum negative values persent per categories.

  Returns:
    double

### getPosMaxPsCategory

    public double getPosMaxPsCategory()

  Returns maximum sum positive values percent per categories.

  Returns:
    double

Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD