posted 15 years ago
Hi
i am making a simple jfreechart application.I am able to display the xy plot.For large data values of x cordinates,it display the x cordinate value in integer ,but the problem is if i take small data values of x cordinates the integers are not displayed instead double values are displayed.For ex
for (int k = 0; k <digitArray.length ; k++)
{
series.add(k, digitArray[k]);
}
where series is XYSeries object, digitArray is an int array containing 23 elements,then x cordinates is displayed in double instead of 0,1,2....22(k values here) etc but if i increase the digitArray elements to say 50 then the x cordinates values values are displayed in integers.How to solve this problem.And also can we display the x cordinates in reverse fashion like starting with the last element to the 0th one.Please answer my queries.