Skip to content

Commit

Permalink
parseFloat in case the number come as string , charts js
Browse files Browse the repository at this point in the history
  • Loading branch information
RamezIssac committed Dec 14, 2023
1 parent 8fb3e3e commit 711ab88
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
txt = $(txt).text() || txt; // the title is an <a tag , we want teh text only
legendResults.push(txt)
}
datasetData.push(row[dataFieldName])
datasetData.push($.parseFloat(row[dataFieldName]))
}
return {
'labels': legendResults,
Expand Down

0 comments on commit 711ab88

Please sign in to comment.