Custom xticks for dates in StatsPlots groupedbar

The problem is that with groupedbar() the x-axis is a sequential integer (+/- 0.5).

Using the closest indexes/dates to your desired x-ticks, we can produce:

1 Like