[+] Show quater lines
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
import {Component, Prop, Vue} from 'vue-property-decorator';
|
import {Component, Prop, Vue} from 'vue-property-decorator';
|
||||||
import moment from 'moment';
|
import moment from 'moment';
|
||||||
import Course from '@/logic/course';
|
import Course from '@/logic/course';
|
||||||
|
import Constants from '@/constants';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
})
|
})
|
||||||
@@ -38,6 +39,13 @@ export default class OverallLine extends Vue
|
|||||||
{
|
{
|
||||||
smooth: true,
|
smooth: true,
|
||||||
|
|
||||||
|
// Quarter lines
|
||||||
|
markLine:
|
||||||
|
{
|
||||||
|
silent: true,
|
||||||
|
data: Constants.TERMS.map(term => {return {xAxis: term.getTime()}})
|
||||||
|
},
|
||||||
|
|
||||||
// Mark area
|
// Mark area
|
||||||
markArea:
|
markArea:
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user