File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -624,8 +624,9 @@ <h1>FastAD Rating Formula Visualizer</h1>
624624 . append ( 'rect' )
625625 . attr ( 'x' , d => d . x * cellWidth )
626626 . attr ( 'y' , d => height - ( d . y + 1 ) * cellHeight )
627- . attr ( 'width' , cellWidth )
628- . attr ( 'height' , cellHeight )
627+ . attr ( 'width' , cellWidth + 0.5 )
628+ . attr ( 'height' , cellHeight + 0.5 )
629+ . attr ( 'shape-rendering' , 'crispEdges' )
629630 . style ( 'stroke' , 'none' )
630631 . style ( 'cursor' , 'crosshair' ) ;
631632
@@ -634,8 +635,8 @@ <h1>FastAD Rating Formula Visualizer</h1>
634635 . duration ( 300 )
635636 . attr ( 'x' , d => d . x * cellWidth )
636637 . attr ( 'y' , d => height - ( d . y + 1 ) * cellHeight )
637- . attr ( 'width' , cellWidth )
638- . attr ( 'height' , cellHeight )
638+ . attr ( 'width' , cellWidth + 0.5 )
639+ . attr ( 'height' , cellHeight + 0.5 )
639640 . attr ( 'fill' , d => colorScale ( d . delta ) ) ;
640641
641642 // Update hover events
You can’t perform that action at this time.
0 commit comments