i have XYSeries object.
how can i get max and min value in that XYSeries data.
reg
Bharat
max value
Re: max value
Bharat,
An XYSeries object contains XYDataPair object. Even if there is only one XYDataPair object in the series it is ambiguous to ask for the min or the max because it is unknown whether or not you are referring to the min/max x or y coordinate.
Once you specify whether it is the x or y coordinate you are looking for it is easy to use the getItemCount() to create loop which iterates over all the values calling getXValue() or getYValue() and determine the min or the max.
chuck
An XYSeries object contains XYDataPair object. Even if there is only one XYDataPair object in the series it is ambiguous to ask for the min or the max because it is unknown whether or not you are referring to the min/max x or y coordinate.
Once you specify whether it is the x or y coordinate you are looking for it is easy to use the getItemCount() to create loop which iterates over all the values calling getXValue() or getYValue() and determine the min or the max.
chuck