How to display available and unavailable slots in a horizontal bar graph in android
问题 I am trying to display the available and unavailable slots on a horizontal bar graph, but not able to find a solution to that. The values coming from server are like - start_time - 9.30am end_time - 11.30am status - available start_time - 11.30am end_time - 12.00pm status - available start_time - 12.00pm end_time - 15.00pm status - not available and so on...till 21.00pm so i have to represent the available slots with green color and unavailable slots with grey color on a single horizontal bar