[F] Fix scatter plot out of bounds issue

This commit is contained in:
Hykilpikonna
2019-11-09 17:39:58 -05:00
parent a7d7ef44a6
commit f54dfba058
@@ -54,8 +54,8 @@ export default class CourseScatter extends Vue
{ {
formatter: (name: any) => name + '%' formatter: (name: any) => name + '%'
}, },
max: 100, min: (value: any) => Math.floor(value.min) - 5,
min: (value: any) => Math.floor(value.min) - 5 max: (value: any) => Math.min(Math.ceil(value.max), 110)
}, },
// Tooltip // Tooltip