JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.chart
Interface EditableChartDataModel

All Superinterfaces:
ChartDataModel
All Known Implementing Classes:
JCChartSwingDataSource, JCEditableDataSource

public interface EditableChartDataModel
extends ChartDataModel

Extends the ChartDataModel interface to allow modification of data points in the data source.
Note: The EditableChartDataModel interface allows modification of y value data.


Field Summary
 
Fields inherited from interface com.klg.jclass.chart.ChartDataModel
ALL
 
Method Summary
 boolean setDataItem(int seriesIndex, int pointIndex, double newValue)
          Changes the specified y data value.
 
Methods inherited from interface com.klg.jclass.chart.ChartDataModel
getNumSeries, getXSeries, getYSeries
 

Method Detail

setDataItem

public boolean setDataItem(int seriesIndex,
                           int pointIndex,
                           double newValue)
Changes the specified y data value.

Parameters:
seriesIndex - series index for the point to be changed
pointIndex - point index for the point to be changed
newValue - new y value for the specified point
Returns:
boolean value indicating whether the new value was accepted; true means value was accepted

Copyright © 2004 Quest Software Inc..
All rights reserved.