Typical bar and line charts use a category scale for the x axis, and a numeric scale for the y axis. Multiple datasets reuse the same category data. In these charts, the values used for the category axis are obtained from the labels property of the data object. If a dataset has a labels property, its x axis will automatically be defined as type:category.