This works:
list // BarChart[#[[2]], ChartLabels -> DateString @@@ #[[1]], ChartStyle -> "Pastel"] &
This doesn't:
list // BarChart[#[[2]], ChartLabels ->
DateString[#, {"ShortDay", "/", "ShortMonth"}] & @@@ #[[1]], ChartStyle -> "Pastel"] &
The difference is that in the second version DateString
needs to be an anonymous function. But the entire expression already is an anonymous function. Since this won't work, how can I do what I want to do? Is the best way perhaps to define DateString[#,..]
somewhere else, or can I solve this with parentheses or something like that?