[O] Center align y-axis label
This commit is contained in:
@@ -53,7 +53,7 @@ export default class CourseScatter extends Vue
|
|||||||
{
|
{
|
||||||
type: 'time',
|
type: 'time',
|
||||||
name: 'Timeline',
|
name: 'Timeline',
|
||||||
nameLocation: 'middle',
|
nameLocation: 'center',
|
||||||
nameGap: 42,
|
nameGap: 42,
|
||||||
max: FormatUtils.toChartDate(new Date())
|
max: FormatUtils.toChartDate(new Date())
|
||||||
},
|
},
|
||||||
@@ -63,6 +63,7 @@ export default class CourseScatter extends Vue
|
|||||||
{
|
{
|
||||||
type: 'value',
|
type: 'value',
|
||||||
name: 'Percentage Score',
|
name: 'Percentage Score',
|
||||||
|
nameLocation: 'center',
|
||||||
max: 100,
|
max: 100,
|
||||||
min: (value: any) => Math.floor(value.min) - 5
|
min: (value: any) => Math.floor(value.min) - 5
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user