Graph for two variable on x and y-axis

I have two variables and I want to put on variable on the x-axis and the 2nd variable on the y-axis. to show the relationship between them. But in the dashboard chart x-axis contain time data (As shown in the attachment picture). how can I add there another variable and generate a line graph between two variables to show their relationship?