We have got a requirement on facet chart where facet axis is based on time. We are trying to plot the chart with x-axis as days/weeks/months/years depending on the chart width. When the facet axis width is less The facet axis label is getting cropped in order to fit the labels. Our requirement is to change the facet axis according to the width of the axis without cropping the labels.
The below image is when the facet axis has enough width.
When we decrease the width we are getting the following graph
We want to adjust the x axis so that the label should fit accordingly. Or else if days labels is getting cropped then to convert the facet axis in week and so on.
Thanks in advance.