We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be5ac4a commit e574dfbCopy full SHA for e574dfb
src/routes/stats/npm/index.tsx
@@ -686,6 +686,15 @@ function NpmStatsChart({
686
: plotData.filter((d) => d.date < partialBinEnd),
687
Plot.pointer({
688
...baseOptions,
689
+ stroke: 'name',
690
+ format: {
691
+ x: (d) =>
692
+ d.toLocaleDateString('en-US', {
693
+ month: 'long',
694
+ day: 'numeric',
695
+ year: 'numeric',
696
+ }),
697
+ },
698
} as Plot.TipOptions)
699
),
700
].filter(Boolean),
0 commit comments