Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit 49e4ad5

Browse files
committed
Hid broken part of graph
1 parent 14d393e commit 49e4ad5

File tree

1 file changed

+18
-17
lines changed

1 file changed

+18
-17
lines changed

app/directives/history-graph/history-graph.directive.js

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -155,23 +155,24 @@
155155
.attr('d', line)
156156

157157

158-
svg.append('g')
159-
.selectAll('line')
160-
.data($scope.colors)
161-
.enter()
162-
.append('line')
163-
.attr('x1', totalW - 3)
164-
.attr('x2', totalW - 3)
165-
.attr('y1', function(d) {
166-
return processRatingStripePoint(y(d.start));
167-
})
168-
.attr('y2', function(d) {
169-
return processRatingStripePoint(y(d.end));
170-
})
171-
.attr('stroke', function(d) {
172-
return d.color;
173-
})
174-
.attr('stroke-width', 3)
158+
// FIXME !!!
159+
// svg.append('g')
160+
// .selectAll('line')
161+
// .data($scope.colors)
162+
// .enter()
163+
// .append('line')
164+
// .attr('x1', totalW - 3)
165+
// .attr('x2', totalW - 3)
166+
// .attr('y1', function(d) {
167+
// return processRatingStripePoint(y(d.start));
168+
// })
169+
// .attr('y2', function(d) {
170+
// return processRatingStripePoint(y(d.end));
171+
// })
172+
// .attr('stroke', function(d) {
173+
// return d.color;
174+
// })
175+
// .attr('stroke-width', 3)
175176

176177
function processRatingStripePoint(y) {
177178
console.log('y:' + y)

0 commit comments

Comments
 (0)