Displaying datatable in highcharter tooltip
<p>Using the first block of code in this <a href="https://stackoverflow.com/questions/40182340/stacked-barchart-in-highcharter-with-molten-data">post</a> I want to create a tooltip that would display the list of doctors visiting a clinic on a particular day.I tried the following code which displays nothing</p>

<pre><code>library(DT)    
tltp = DT:: datatable(data.frame(Doctors = x[x$Clinic=="{point.series}"&amp;x$VisitDate == "{point.x}",2]))
hc%&gt;%hc_tooltip(pointFormat = tltp)
</code></pre>

<p>I also tried using the <code>tooltip_table</code> which gives error</p>

<pre><code>tltp = tooltip_table(x = NULL, y = x[x$Clinic=="{point.series}"&amp;x$VisitDate == "{point.x}",2]
hc%&gt;%hc_tooltip(pointFormat = tltp)

Error: unexpected symbol in:
"tltp = tooltip_table(x = NULL, y = x[x$Clinic=="{point.series}"&amp;x$VisitDate == "{point.x}",2]
tltp"
</code></pre>

<p>Apologies I am not fluent in writing javascript.</p>