Hi
I use highcharter and shinydashboard.
I would like to plot the line on the bar chart so i use this part of code
hc_yAxis(plotLines = list(list(color = '#FF0000', width = 1,
value = 12,
dashStyle = 'longdash',
label = list(text = "This is a plotLine"))))
this work OK in my RStudio Viewer and in ShinyDashboard app.
but when I change fixed value 12 to max(df.docs.distr$date.qty) it doesn't work in ShinyDashboard but still work in RStudio Viewer.
hc_yAxis(plotLines = list(list(color = '#FF0000', width = 1,
value = max(df.docs.distr$date.qty),
dashStyle = 'longdash',
label = list(text = "This is a plotLine"))))
How to make it work in ShinyDashboard?