Weird interface change in PieToolTipGenerator

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

Weird interface change in PieToolTipGenerator

Post by Guido Laures » Sun Feb 16, 2003 12:28 pm

Hi,

I do not understand why the PieToolTipGenerator now needs in it's generate method a parameter of type java.util.Comparable.
I do not see any reason for this.
Could you explain the change, please.

Regards,
Guido

David Gilbert

Re: Weird interface change in PieToolTipGenerator

Post by David Gilbert » Mon Feb 17, 2003 7:30 am

It reflects changes made to the PieDataset interface. The value keys are now instances of Comparable rather than Object.

Regards,

Dave Gilbert

Locked