question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't export CSV on line graphs, getting errror "i.split is not a function"

See original GitHub issue

Bug 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:closed
  • Created 3 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
junedchhipacommented, Dec 11, 2020

Fixed it, thanks for reporting.

0reactions
asi-devpcommented, Nov 21, 2022

The error is still there - https://codepen.io/albert-davityan/pen/KKNYoxr

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found