In the first graph, slope of V-I graph is resistance. Since, in series combination, resistance is more than the resistance in parallel combination, therefore slope of V-I graph for series combination is more than the slope oiV-I graph for parallel combination. Hence, first graph is correctly labelled.
In the second graph, slope of I-V graph is 1/resistance. Hence, second graph is also correctly labelled.