Skip to content

Commit c4768b8

Browse files
committed
round off y-axis values
1 parent f8686b0 commit c4768b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/pods/components/user-tag-graph/component.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export default class UserTagComponent extends Component {
3131
labels: userTags.map(_ => _.get('tag.name')),
3232
datasets: [
3333
{
34-
data: userTags.map(_ => +_.get('rating')),
34+
data: userTags.map(_ => Math.round(+_.get('rating'))),
3535
fill:false,
3636
backgroundColor: this.gradient
3737
}

0 commit comments

Comments
 (0)