There is herein provided a compound of formula (I) or a pharmaceutically acceptable salt thereof, for use in the treatment of hyperglycaemia or a disorder characterized by hyperglycaemia, such as type 2 diabetes, wherein X, R1, R2, R3 and n have meanings as provided in the description.