Update x scale on category axis when legend.show/hide - #286