Implement drawing major  and minor lines.