We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d0a9030 + ad0e8a2 commit b6c5cceCopy full SHA for b6c5cce
2 files changed
src/components/DailyCodingTimeChart/DailyCodingTimeChart.tsx
@@ -110,6 +110,8 @@ export const DailyCodingTimeChart = ({
110
borderColor: "#1f78b4",
111
borderWidth: 4,
112
pointRadius: 2,
113
+ // Avoid "overshoot" where the smoothed curve goes above/below actual points.
114
+ cubicInterpolationMode: smoothCharts ? "monotone" : "default",
115
tension: smoothCharts ? 0.5 : 0,
116
},
117
],
src/components/MonthlyCodingTimeChart/MonthlyCodingTimeChart.tsx
@@ -120,6 +120,8 @@ export const MonthlyCodingTimeChart = ({
120
121
122
123
124
125
126
127
0 commit comments