Can't export CSV on line graphs, getting errror "i.split is not a function"
See original GitHub issueBug report
Codepen
https://codepen.io/asksuite-leroy/pen/NWRbEGR
Explanation
- What is the behavior you expect?
The CSV to be exported
- What is happening instead?
Nothing happens when the export button is clicked, and a error is thrown on the console. This seems to happen only on our production environment, we’re using ng-apexcharts, but the error occurs on the codepen as well.
- What error message are you getting?
apexcharts:6 Uncaught TypeError: i.split is not a function
at g (apexcharts:6)
at apexcharts:6
at apexcharts:6
at Array.map (<anonymous>)
at t.value (apexcharts:6)
at t.value (apexcharts:6)
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (1 by maintainers)
Top Results From Across the Web
Can't export CSV getting errror "i.split is not a function ... - GitHub
Error in the console: Can't export CSV on line graphs, getting errror "i.split is not a function". The bug was introduced in ApexCharts ......
Read more >TypeError: split is not a function in JavaScript | bobbyhadz
The "split is not a function" error occurs when we call the split() method on a value that is not of type string....
Read more >Split function is not a valid function - TeachExcel.com
The SPLIT function belongs to VBA. It isn't part of Excel because it returns an array. Spreadsheets show elements of arrays in different...
Read more >What is causing the error `string.split is not a function`?
This is because document.location is a Location object. The default .toString() returns the location in string form, so the concatenation will trigger that....
Read more >Exporting table data | BigQuery - Google Cloud
Describes how to export data from BigQuery to Cloud Storage in CSV, JSON, Avro, and Parquet formats.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Fixed it, thanks for reporting.
I’m get this error also when Yaxis is date, in my project. My apexcharts version is 3.63.3. is there any fix for this? thanks