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

ISPN-12311 Fix data access % in chart #80

Merged
merged 1 commit into from Sep 22, 2020

Conversation

karesti
Copy link
Collaborator

@karesti karesti commented Sep 11, 2020

@karesti karesti added the backport when we need to add it to the previous release label Sep 11, 2020
@@ -136,7 +136,7 @@ const CacheMetrics = (props: {
{x: 'Removes Misses', y: stats.remove_misses},
{x: 'Evictions', y: stats.evictions}
]}
labels={({datum}) => `${datum.x}: ${datum.y}%`}
labels={({datum}) => `${datum.x}:${displayUtils.formatNumber((datum.y * 100)/all)}%`}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't check if all != 0?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not needed

@pruivo pruivo merged commit 0971ae5 into infinispan:11.0 Sep 22, 2020
@pruivo
Copy link
Member

pruivo commented Sep 22, 2020

integrated! thanks @karesti !

@karesti karesti deleted the ISPN-12311-backport branch September 23, 2020 10:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport when we need to add it to the previous release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants