Skip to content
This repository has been archived by the owner on Apr 28, 2020. It is now read-only.

plotted y values for performance card graphs #411

Merged
merged 1 commit into from
Apr 25, 2019

Conversation

gnehapk
Copy link
Contributor

@gnehapk gnehapk commented Apr 25, 2019

With these changes, performance card will look like -
performance-card

chartAxis = (
<ChartAxis
dependentAxis
tickValues={[0, Number((maxY / 2).toFixed(decimalPoints)), Number(maxY.toFixed(decimalPoints))]}
Copy link
Contributor

@rawagner rawagner Apr 25, 2019

Choose a reason for hiding this comment

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

if/else block could calculate just tickValues which would result in one ChartAxis definition (easier to maintain if the future)

@coveralls
Copy link

coveralls commented Apr 25, 2019

Pull Request Test Coverage Report for Build 1670

  • 24 of 24 (100.0%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.02%) to 86.468%

Totals Coverage Status
Change from base Build 1667: 0.02%
Covered Lines: 3651
Relevant Lines: 4047

💛 - Coveralls

@gnehapk
Copy link
Contributor Author

gnehapk commented Apr 25, 2019

Done the review changes. @rawagner Please review.

@rawagner rawagner merged commit e458ba7 into kubevirt:master Apr 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants