JIDE 3.5.15

com.jidesoft.chart.model
Interface LeanChartModel

All Superinterfaces:
ChartModel, Iterable<Chartable>, Named
All Known Implementing Classes:
LeanMemoryChartModel

public interface LeanChartModel
extends ChartModel

A minimal extension to the ChartModel interface that allows us to retrieve the double-valued coordinates of the points without having to construct new objects


Method Summary
 double[] getPointPositions(int n)
          Returns the x and y coordinates of the nth point
 
Methods inherited from interface com.jidesoft.chart.model.ChartModel
addChartModelListener, getName, getPoint, getPointCount, isCyclical, removeChartModelListener
 
Methods inherited from interface java.lang.Iterable
iterator
 

Method Detail

getPointPositions

double[] getPointPositions(int n)
Returns the x and y coordinates of the nth point

Parameters:
n - the index of the point of interest
Returns:
an array of doubles: the first element is the x coordinate and the second element is the y coordinate

JIDE 3.5.15