Im new with plotly and i have question for you.
I have a dataset with date and value like this:
date value
01/01/2001 5
....
01/01/2010 25
and im plotting it with this code:
plotr<- plot_ly(data,x = ~date, y = ~var,name='X',
type="scatter",mode='lines',
line = list(color = 'rgb(0, 0, 102)', width = 2 )) %>%
layout(title = "My first graph",
xaxis = list(title = "date"),
yaxis = list (title = "number"))
plotr
It works fine but i want to put a note in one date for example in 2013 with his value... I searched in plotly website and i found it but i cant view my note...
https://plot.ly/r/line-charts/
anyone could help?

