Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Decimals #29

Merged
merged 2 commits into from
Feb 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions components/home/charts/retail-volume.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ export default function RetailVolumeChart() {
);
return (
<ChartWrapper
title='Retail Volume'
title='Non-HLP Volume'
loading={loading}
zIndex={9}
controls={controls}
Expand Down Expand Up @@ -361,8 +361,8 @@ export default function RetailVolumeChart() {
</ResponsiveContainer>
<Box w='100%' mt='3'>
<Text color='#bbb'>
This measures two-sided volume, i.e. each side of a trade is counted once if that side is
retail.
This measures two-sided volume, i.e. each side of a trade is counted once if that side is retail.
This previously tracked retail volume, but was changed in February, 2024 to non-HLP volume.
</Text>
</Box>
</ChartWrapper>
Expand Down
10 changes: 5 additions & 5 deletions components/home/charts/unique-users-coin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ export default function UniqueUsers() {

return (
<ChartWrapper
title='Unique Users Percentage By Coin'
title='Unique Traders Percentage By Coin'
loading={loading}
zIndex={8}
coinSelectors={coinSelectors}
Expand Down Expand Up @@ -252,15 +252,15 @@ export default function UniqueUsers() {
stroke={BRIGHT_GREEN}
dataKey='daily_unique_users'
yAxisId='right'
name='Daily Unique Users'
name='Daily Unique Traders'
/>
</ComposedChart>
</ResponsiveContainer>
<Box w='100%' mt='3'>
<Text color='#bbb'>
The line is the number of unique addresses who used Hyperliquid each day, bars represent
proportion of users who traded specific coins. Total exceeds 100% as users can trade
multiple coins. Top 10 coins are shown separately and the rest are grouped as Other.
The line is the number of unique addresses who traded on Hyperliquid each day, bars represent
proportion of users who traded specific coins. Total exceeds 100% as users can trade
multiple coins. Top 10 coins are shown separately and the rest are grouped as Other.
</Text>
</Box>
</ChartWrapper>
Expand Down
2 changes: 1 addition & 1 deletion helpers/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ export const yaxisFormatterNumber = (value: number): string => {
};

export const yaxisFormatter = (value: number): string => {
return formatNumberWithOptions(value, { currency: true, compact: true }, 0);
return formatNumberWithOptions(value, { currency: true, compact: true });
};

export const tooltipFormatterNumber = (value: number | string): string => {
Expand Down