Having trouble with the demo code of Displaying Gyro


I got a Wio Terminal and want to try demo code of Displaying Gyro which was shown on the Seeed Wiki.
I just copied the code by clicking the “copy to clipboard” button and pasted on my Arduino IDE but could not verify with error message "no matching function for call to ‘text::font_height()’ at following.

header.height(header.font_height() * 2);

Do I need any other setting to run the demo code?
I’m newbie to both Wio Terminal and Arduino IDE so I might miss something important.

Appreciate your support in advance.