Do you mean you need "Hour of Day" as the x-axis? A Line visualisation won't be able to do that.
The next best thing could be a Bar chart. Create a Freeform Table with the Hour of Day dimension and your metric(s). Then chart that table as a Bar chart.