Hi Nick, In illustrator you need the selected object to be a closed path for it to fill. In you case you will need each segment to be a continous path you can then change the fill colour and stroke colour. (think of it as a box start and finish at the same point)
Hope this make sence for you.
Cheers, Chris.