NetCharts Pro

netcharts.pro.datamodel
Interface NFDataModel

All Known Implementing Classes:
NFDataModel1D, NFDataModel2D, NFDataModel3D, NFDataModelAdapter, NFDataModelAxisLabel, NFDataModelDiagram, NFDataModelStock, NFDataModelTime

public interface NFDataModel

This object should not be implemented directly - use NFDataModel1D, NFDataModel2D, NFDataModel3D NFDataModelStock, etc.


Method Summary
 java.lang.Object elementAt(int rowIndex)
          Objects implementing this method are intended to provide access to one dimensional data.
 java.lang.Object elementAt(int row, int nthDimension)
          Objects implementing this method are intended to provide access to multidimensional data.
 int getDataDimensions()
          returns the number of dimensions in the data
 int getNRows()
          returns the number of rows in the data
 boolean hasMoreData()
          returns false if there is no more data.
 

Method Detail

hasMoreData

boolean hasMoreData()
returns false if there is no more data.


getNRows

int getNRows()
returns the number of rows in the data


getDataDimensions

int getDataDimensions()
returns the number of dimensions in the data


elementAt

java.lang.Object elementAt(int rowIndex)
Objects implementing this method are intended to provide access to one dimensional data.


elementAt

java.lang.Object elementAt(int row,
                           int nthDimension)
Objects implementing this method are intended to provide access to multidimensional data. row indexes start at 0, col indexes start at 0 The netcharts rendering engines expect the following: Two dimensional data is in the form X,Y (X in first dimension, Y in second) Three dimensional data is in the form X,Y,Z Stock data is in the form High, Low, Open, Close Therefore, if a XY Chart requests data for row 2, col 1 it expects the information coming back is a 'Y' value.


NetCharts Pro


Visual Mining, Inc.
2099 Gaither Rd.
Suite 220
Rockville, MD 20850
800.308.0731
301.947.8293 FAX

Copyright © Visual Mining, Inc. 1996 - 2011
All Rights Reserved.

NetCharts Pro TM is a registered trademark of Visual Mining, Inc. Other brands and their products are trademarks of their respective holders.

Last Modified: Jun 28, 2011