Remove timeframes from X-Axis

Hi!

I’m collecting performance data from a web service. The data is only collected between 8am and 8pm. There is no data available between 8pm and 8 am.

When displaying the data for a week, only half of the graph shows some data while the other half of the graph is empty.

Is there a way to show only the time where data is available (i.e. not showing information from 8pm to 8am on the X axis)?

Thanks!

This isn’t something that’s supported by the current graph panel. I think the closest to what you’re looking for is [Time Regions](https://grafana.com/docs/grafana/latest/panels/visualizations/graph-panel/#time-regions), where you can display the region in the graph.