Different color sources for geom_point and geom_line

Without a a reprex (see the FAQ), this is difficult to follow. To start is there both cdata2 and cdata3?