|
From: Lapinski, M. (Research) <lap...@cr...> - 2003-09-10 19:50:26
|
Hello,
I am implementing a PreAxisValueRenderListener for a bar graph.
Here is a code snippet:
public void preRender(AxisValueRenderEvent avre) {
IAxisPlotDataSet iapd = avre.getiAxisPlotDataSet();
AxisChartDataSet acd = (AxisChartDataSet) iapd;
int dataSetIndex = avre.getDataSetIndex();
int indexInDataSet = null; //how do I get this
/* ... */
}
now Id like to get the index of which piece of data
in the given data set is being operated on and use
acd.getValue(int dataset, int index) to get a piece
of data. I cannot find any way in the API to do so.
Is there a way?
-thank you in advance
-mtl
--------------------------------------------------
Michael Lapinski
Computer Scientist
GE Research
|