|
@@ -457,9 +457,7 @@ export default {
|
|
|
|
|
|
this.chartLine.data(this.lineData)
|
|
|
this.chartLine.scale({
|
|
|
- week: {
|
|
|
- range: [0, 1]
|
|
|
- },
|
|
|
+
|
|
|
value: {
|
|
|
min: 0,
|
|
|
nice: true
|
|
@@ -478,9 +476,8 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
})
|
|
|
-
|
|
|
- this.chartLine.area().position('week*value')
|
|
|
- this.chartLine.line().position('week*value')
|
|
|
+ this.chartLine.interval().position('week*value').color('week')
|
|
|
+ this.chartLine.interaction('active-region')
|
|
|
|
|
|
this.chartLine.render()
|
|
|
}
|