How do I weight the grades in the grade book?
It's done from the Assignments page, not the Gradebook.
The Canvas Instructor's Guide has instructions (and lots of other answers to questions)
How do I add an assignment group in a course?
How do I weight the final course grade based on assignment groups?
Retrieving data ...