Skip to content

Commit

Permalink
faster render anims
Browse files Browse the repository at this point in the history
  • Loading branch information
jackschedel committed Nov 14, 2023
1 parent 55f5118 commit f8162d9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions client/src/pages/Strategy.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -540,13 +540,15 @@ function Strategy() {
dataKey={dataKey}
stroke="#8884d8"
dot={false}
animationDuration={500}
/>
{showRegression && (
<Line
type="monotone"
dataKey="regression"
stroke="#ff0000"
dot={false}
animationDuration={500}
/>
)}
{useRegressionRange && (
Expand All @@ -555,6 +557,7 @@ function Strategy() {
dataKey="regRange"
stroke="#000000"
dot={true}
animationDuration={0}
/>
)}
</LineChart>
Expand Down

0 comments on commit f8162d9

Please sign in to comment.