Skip to content

Commit

Permalink
Fix categorical axis (#4565)
Browse files Browse the repository at this point in the history
Fix catagorical axis
  • Loading branch information
haneslinger authored Mar 13, 2024
1 parent 83431b3 commit 3763889
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ angular.module('BE.seed.controller.insights_property', []).controller('insights_
item.x = _.find(prop, (v, k) => k.endsWith(`_${String($scope.configs.chart_xaxis)}`));

// is x axis categorical?
if ($scope.x_categorical === false && Number.isNaN(item.x)) {
if ($scope.x_categorical === false && isNaN(item.x)) {
$scope.x_categorical = true;
}

Expand Down

0 comments on commit 3763889

Please sign in to comment.