Adding an Axis

This lesson contains an exercise for drawing an axis for the line chart.

We'll cover the following

We are going to add an axis to the line chart. It is difficult to read the chart without understanding how the data is measured. We will add an axis for the date and price of the stock. This process should be familiar to you by now. Try tackling this problem as an exercise. Continue reading for the solution.


If you were able to draw an axis, then congrats. If not, we will tackle this exercise together. We will be working at the bottom of the draw() function.

Get hands-on with 1200+ tech skills courses.