part value maybe use java.lang.Long type?

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
robert

part value maybe use java.lang.Long type?

Post by robert » Fri Jun 28, 2002 7:37 am

One of method in JFreeChartServletDemo.java as below:

protected JFreeChart createChart(int type, int initGradColor, int finalGradColor,int type2,int[] value)

But max value of an integer is 2147483647.

If I want to enter a number greater than 2147483647, that is to say, maybe I use java.lang.Long type instead of java.lang.Integer?

Thanks a lot!

robert

Re: part value maybe use java.lang.Long type?

Post by robert » Fri Jun 28, 2002 7:40 am

By the way, would you please tell me the part value of pie chart maybe a negative number?

Because I find that if the part value is a negative number, the pie chart can't display any number.

Best regards!

Locked