Skip to content

Commit

Permalink
Fix isRadial is always false
Browse files Browse the repository at this point in the history
  • Loading branch information
benmccann committed Jan 30, 2020
1 parent 12333b0 commit b17c1ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/core.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ class Chart {
items = items.concat(
Object.keys(scaleOpts).map(function(axisID) {
const axisOptions = scaleOpts[axisID];
const isRadial = axisID.charAt(0).toLowerCase === 'r';
const isRadial = axisID.charAt(0).toLowerCase() === 'r';
const isHorizontal = axisID.charAt(0).toLowerCase() === 'x';
return {
options: axisOptions,
Expand Down

0 comments on commit b17c1ac

Please sign in to comment.