Quantcast
Viewing all articles
Browse latest Browse all 217197

Rank text on X axis: Duration type

Hi everyone,

 

I am trying to plot a time series over 24 hours in a day. My x-axis data looks like this:

Image may be NSFW.
Clik here to view.
9.PNG
0-1 stands for the counts in 00:00-01:00 and 23-24 stands for 23:00-24:00. 

To make sure that the x axis is in the time order insteand of text order, I currently have two ideas:

1. create a new column to and manually input corresponding rank and sort my "time range" by that new column. But this means repeated work which I tend to avoid.

2. change the data type of "time range" to some supported time-related data type like "Duration". How to achieve this though?

 

Thank you for all your help!


Viewing all articles
Browse latest Browse all 217197

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>