'Format dates with highcharter
I can't figure out the dates formatting when using the package 'highcharter'. In the chart below, I want the date to be expressed as 15-12-2022 both in the tooltip and on the axis. I can't remove the date in whole letters at the top of the tooltip and also can't change the format of the X axis. Here is my code:
plot<-hchart(dataset ,'column',hcaes(x = Date, y = Variable)) %>%
hc_xAxis(dateTimeLabelFormats = list(day = '%d-%m-%Y')) %>%
hc_tooltip(pointFormat = "{point.x:%d-%m-%Y} <br> Variable: {point.y} ")

Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
