Skip to content

fix NaN label when all values are the same#50

Merged
Hermanya merged 1 commit into
chart-kit:masterfrom
idw111:master
Oct 2, 2018
Merged

fix NaN label when all values are the same#50
Hermanya merged 1 commit into
chart-kit:masterfrom
idw111:master

Conversation

@idw111

@idw111 idw111 commented Oct 2, 2018

Copy link
Copy Markdown
Contributor

fixed issue #27

  • horizontal lable becomes NaN if all values are the same

in renderHorizontalLabels
count === 1 when all values are same
and thus denominator becomes zero

@Hermanya Hermanya merged commit f4b9a48 into chart-kit:master Oct 2, 2018
@Hermanya

Hermanya commented Oct 2, 2018

Copy link
Copy Markdown
Contributor

Good job 👍 thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants