ToolTip for Histogram shows avg of bin...how to get range

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
eriktamu
Posts: 12
Joined: Thu Nov 11, 2004 11:32 pm
Location: Austin, TX
Contact:

ToolTip for Histogram shows avg of bin...how to get range

Post by eriktamu » Thu Nov 11, 2004 11:42 pm

I'm working on a XYBarRenderer displaying a histogram. I am having some problems trying to figure out how to change the ToolTip to display what I am looking for. The standard format gives me the avg of a bin. For example if I hover over the first bar which is from 0-5, I get 2.5. Is there a way to get this to display 0-5??

Current: NOV-2004: (2.5, 21)

Would like: NOV-2004: (0-5, 21)

I've purchased the documentation and I'm just having trouble figuring this one out.

Thanks,
Erik

Locked