DateListPlot – ToolTip

I would like to plot some data in time and am trying to format it so that tooltips on mouse over gives the date and a value.

Something of the form

DateListPlot[Tooltip[data,
StringForm[“Time: “, “= “”, DateString[data[[x, 1]],{“Month”,”/”, “Day”, ” “, “Hour”, “:”, “Minute”}],Title, data[[x, 2]]]]]

Is similar to what I want except I need data[[x,1]] or data[[x,2]] to have x as a reference to the current position DateListPlot is in the list so that mouse overs give correct time/value.

This example works when I just make x some number 1 <= x <= length(data). =================      Look up MapIndexed, and pure functions using (# &). – Sjoerd C. de Vries Sep 8 '14 at 5:40 ================= 1 Answer 1 ================= For illustrative purposes: dt = DateRange[{2014, 1, 1}, {2014, 1, 31}]; v = RandomInteger[{5, 10}, 31]; dat = Transpose[{dt, v}]; tt = Tooltip[#, Row[{DateString[ First@#, {"DayNameShort", ", ", "Day", " ", "MonthNameShort", " ", "Year"}], ": ", Style[Last@#, Red, Bold]}], TooltipStyle -> {Background -> White, CellFrameColor -> Blue,
CellFrame -> 2}] & /@ dat;
DateListPlot[tt, PlotMarkers -> {Style[©, Red], 20}]

  

 

i like the © Sign, it says see, see, see …
– Louis
Sep 8 ’14 at 18:46