global: fix: bugs

This commit is contained in:
k
2024-07-26 00:44:17 +02:00
parent d3d5e7f8d7
commit f1f4ad2188
8 changed files with 45 additions and 30 deletions
+2 -2
View File
@@ -35,8 +35,8 @@ export function createPresets(scale: ResourceScale): PartialPresetFolder {
bottom: [
{
title: `New Addresses`,
color: colors.white,
datasetPath: `/${scale}-to-created-addresses`,
color: colors.bitcoin,
datasetPath: `/${scale}-to-new-addresses`,
},
],
},
+3 -3
View File
@@ -23,20 +23,20 @@ export function createPresets(scale: ResourceScale) {
{
title: `24h`,
color: colors.up_to_1d,
datasetPath: `/date-to-up-to-1d-supply-to-circulating-supply-ratio`,
datasetPath: `/${scale}-to-up-to-1d-supply-to-circulating-supply-ratio`,
},
...fromXToYCohorts.map(({ key, id, name, legend }) => ({
title: legend,
color: colors[key],
datasetPath:
`/date-to-${id}-supply-to-circulating-supply-ratio` as const,
`/${scale}-to-${id}-supply-to-circulating-supply-ratio` as const,
})),
{
title: `15y+`,
color: colors.from_15y,
datasetPath: `/date-to-from-15y-supply-to-circulating-supply-ratio`,
datasetPath: `/${scale}-to-from-15y-supply-to-circulating-supply-ratio`,
},
],
},