408249787 2 rokov pred
rodič
commit
8a8654ef68

+ 3 - 6
src/views/workplace/backlog/NewWorkplaceBacklog.vue

@@ -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()
     }