[O] Separate settings

This commit is contained in:
Hykilpikonna
2019-09-20 19:27:10 -04:00
parent 8c4759d497
commit cadd328958
2 changed files with 9 additions and 1 deletions
@@ -6,4 +6,12 @@ import {Course} from '@/components/app/app';
export default class GraphOverall extends Vue export default class GraphOverall extends Vue
{ {
@Prop({required: true}) chart: any; @Prop({required: true}) chart: any;
private settings =
{
series:
{
smooth: false
}
}
} }
@@ -1,6 +1,6 @@
<template> <template>
<div id="graph-overall"> <div id="graph-overall">
<ve-line :data="chart" :extend="{series: {smooth: false}}"></ve-line> <ve-line :data="chart" :extend="settings"></ve-line>
</div> </div>
</template> </template>