jbkunst / highcharter

R wrapper for highcharts
http://jkunst.com/highcharter/
Other
717 stars 147 forks source link

type histogram hc_tooltip oddities #783

Open grcatlin opened 1 year ago

grcatlin commented 1 year ago

For some reason, sort = T must be enabled to edit the tooltip for hcharts of type histogram. I'm not sure if this is intended, but took me quite a long time to figure this one out.

hchart(c(1:100)) %>% 
  hc_tooltip(headerFormat = "",
             pointFormat = "")

This code still shows the tooltip which should be present, but blank:

image

hchart(c(1:100)) %>% 
  hc_tooltip(headerFormat = "",
             pointFormat = "",
             sort = T)

This code performs like I thought the first would:

image

stale[bot] commented 3 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. Feel free to reopen it if you find it necessary.