How to add data from Excel to a Tooltip?

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
kriti92
Posts: 1
Joined: Wed Jul 09, 2014 7:48 am
antibot: No, of course not.

How to add data from Excel to a Tooltip?

Post by kriti92 » Wed Jul 09, 2014 8:00 am

Hi

I'm trying to make a graph showing the minimum and maximum CPU Utilization along with the time that the peaks occurred by a particular application for 30 days. The dates are easily obtained on the X-Axis, however, when I zoom in, all tooltips corresponding to the data points are given the time stamp of 12 AM of their corresponding date by default. How can I change this default time to the time stamp stored in an excel file (which is NOT part of the datasets in the TimeSeriesCollection)?

Here's a screenshot for your reference:
Image

OR
Is there a way to add date AND time to the X-axis in the DD/MM/YYYY HH:mm:SS format?

Thanks in advance for your help!
Kriti

John Matthews
Posts: 513
Joined: Wed Sep 12, 2007 3:18 pm

Re: How to add data from Excel to a Tooltip?

Post by John Matthews » Thu Jul 10, 2014 4:36 pm

Cross-posted here.

Locked