[+] Debug with afterConfig()
This commit is contained in:
@@ -94,4 +94,10 @@ export default class CourseScatter extends Vue
|
|||||||
{
|
{
|
||||||
return assignments.map(a => [a.date, a.score / a.scoreMax]);
|
return assignments.map(a => [a.date, a.score / a.scoreMax]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
afterConfig(options: any)
|
||||||
|
{
|
||||||
|
console.log(options);
|
||||||
|
return options;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div id="course-scatter">
|
<div id="course-scatter">
|
||||||
<ve-scatter height="450px" class="graph" :extend="chartSettings"></ve-scatter>
|
<ve-scatter height="450px" class="graph" :extend="chartSettings" :after-config="afterConfig"></ve-scatter>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user