Skip to content

Commit

Permalink
fix: fix for encode issue
Browse files Browse the repository at this point in the history
  • Loading branch information
phodal committed Apr 3, 2020
1 parent cbc632e commit 30d10ad
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export class LedgeRadarComponent implements OnInit, AfterViewInit {
max: 5,
});
const values = nameValuesSplit[1];
const valuesSplit = values.split(' -> ');
const valuesSplit = values.split(' -> ');
// tslint:disable-next-line:prefer-for-of
for (let j = 0; j < legend.length; j++) {
if (!seriesData[j]) {
Expand All @@ -67,7 +67,7 @@ export class LedgeRadarComponent implements OnInit, AfterViewInit {

seriesData[j].name = legend[j];
if (valuesSplit[j]) {
seriesData[j].value.push(valuesSplit[j]);
seriesData[j].value.push(parseInt(valuesSplit[j], 10));
}
}
}
Expand Down

0 comments on commit 30d10ad

Please sign in to comment.