Our bass lines are over chords, i.e. we play chord tones. Do you know how to gather the tones (notes) of a chord? If not...
http://www.smithfowler.org/music/Chord_Formulas.htm
Major chord is made from the 1-3-5 note of the 1's scale. C chord = C E & G notes. If you play patterns you only need to know how to place the pattern -- that graph that Wayne gave you was a generic 1-3-5 -- Place the 1 or root correctly and you can play as much of the chord as think fits the beat or groove the best.
C Chord used in the song. Here are your choices:
Bunch of C's , i.e. Roots
bunch of R-5 or C - G notes.
How about a R-3-5-3 for a C chord. That fills a 4/4 measure nicely.
How about a R-b3-5-b3 for a Cm chord.
How about a R-3-5-b7 for a C7 chord.
How about a R-b3-5-b7 for a Cm7 chord.
If that helped let's talk some more.
Good luck.