This repository was archived by the owner on Mar 4, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +18
-17
lines changed
app/directives/history-graph Expand file tree Collapse file tree 1 file changed +18
-17
lines changed Original file line number Diff line number Diff line change 155
155
. attr ( 'd' , line )
156
156
157
157
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)
175
176
176
177
function processRatingStripePoint ( y ) {
177
178
console . log ( 'y:' + y )
You can’t perform that action at this time.
0 commit comments