diff options
author | Madhura Jayaratne <madhura.cj@gmail.com> | 2013-12-25 19:37:39 +0400 |
---|---|---|
committer | Madhura Jayaratne <madhura.cj@gmail.com> | 2013-12-25 19:37:39 +0400 |
commit | 2ac4e71c914e913cbd9c6436a1e33f2ebf5b01d8 (patch) | |
tree | 3e224b444d68f67b0f222bd7fc9109bedb5cc1bb /js/tbl_chart.js | |
parent | 5218fd0a9fb085de7287ccfe38929c6de54e1fef (diff) |
Provide float values
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
Diffstat (limited to 'js/tbl_chart.js')
-rw-r--r-- | js/tbl_chart.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/js/tbl_chart.js b/js/tbl_chart.js index 8f24eba6ff..07f15f8a0a 100644 --- a/js/tbl_chart.js +++ b/js/tbl_chart.js @@ -92,6 +92,8 @@ function PMA_queryChart(data, columnNames, settings) { if (j === 0) { if (settings.type == 'timeline') { // first column is date type newRow.push(extractDate(row[col])); + } else if (settings.type == 'scatter') { + newRow.push(parseFloat(row[col])); } else { // first column is string type newRow.push(row[col]); } |