I need to plot a vertical line on a graph, and write the texts "PRE" and "POS" as shown in the attached figure, using the package and highcharts. So far I have not been successful. Follow my code so far.
hc <- bd
plotline <- list(color ="red", value =2015.5, width =5)
hchart('line', hcaes(x = hc$ANO, y = hc$Percentual, group = Niveis)%>%
hc_yAxis(plotLines = list(plotline))
)
hc


You didn't provide data, so I grabbed some to use. I didn't try to match styles or colors - you didn't indicate that was a need.