jbkunst/highcharter

type histogram hc_tooltip oddities

grcatlin opened this issue · 1 comments

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

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.