[O] Make the x axis type time

This commit is contained in:
Hykilpikonna
2019-10-20 11:57:19 -04:00
parent 2150a563eb
commit 416ef0991d
@@ -33,15 +33,7 @@ export default class CourseScatter extends Vue
// X axis represents course names
xAxis:
{
type: 'category',
axisLabel: {
interval: 0,
inside: false,
rotate: 90,
// Truncate text length
formatter: (value: string) => value.length <= 16 ? value : value.substr(0, 14) + '...'
},
type: 'time',
},
// Y axis represents GPAs and MaxGPAs