Struggling to show 2 lines on a chart when user selects a metric

HI @aswy6 welcome to the forums.

Could you please format your code for better readability?