File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -46,14 +46,14 @@ export const QuickLineChart: React.FC<LineChartProps> = ({
4646 if ( data . length > 0 ) {
4747 context . strokeStyle = currentColors [ Colors . TEAM_ONE ]
4848 context . beginPath ( )
49- context . moveTo ( xScale ( data [ 0 ] . round ) , yScale ( data [ 0 ] . brown ) )
50- for ( let i = 1 ; i < data . length ; i ++ ) context . lineTo ( xScale ( data [ i ] . round ) , yScale ( data [ i ] . brown ) )
49+ context . moveTo ( xScale ( data [ 0 ] . round ) , yScale ( data [ 0 ] . white ) )
50+ for ( let i = 1 ; i < data . length ; i ++ ) context . lineTo ( xScale ( data [ i ] . round ) , yScale ( data [ i ] . white ) )
5151 context . stroke ( )
5252
5353 context . strokeStyle = currentColors [ Colors . TEAM_TWO ]
5454 context . beginPath ( )
55- context . moveTo ( xScale ( data [ 0 ] . round ) , yScale ( data [ 0 ] . white ) )
56- for ( let i = 1 ; i < data . length ; i ++ ) context . lineTo ( xScale ( data [ i ] . round ) , yScale ( data [ i ] . white ) )
55+ context . moveTo ( xScale ( data [ 0 ] . round ) , yScale ( data [ 0 ] . brown ) )
56+ for ( let i = 1 ; i < data . length ; i ++ ) context . lineTo ( xScale ( data [ i ] . round ) , yScale ( data [ i ] . brown ) )
5757 context . stroke ( )
5858 }
5959
You can’t perform that action at this time.
0 commit comments