I would like to loop through a dataframe and add annotations like
#df.dates is a dataframe with dates in it
for(i in 1:nrow(df.dates))
{
myDyGraph %>%
dyAnnotation(df.dates[i], text = "some text here" )
}
When i run this the chart doesn't update?