New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export data module: a chart without a title throws error when trying to export data #7357

Closed
KacperMadej opened this Issue Nov 6, 2017 · 0 comments

Comments

Projects
None yet
1 participant
@KacperMadej
Contributor

KacperMadej commented Nov 6, 2017

Behaviour

It's caused by title not having textStr at

name = this.title.textStr.replace(/ /g, '-').toLowerCase();

Live demo with steps to reproduce

http://jsfiddle.net/BlackLabel/0jtoo0th/4/
Export through menu to CSV or XML gives error in console and file is not downloaded.

Workaround

Set filename: http://jsfiddle.net/BlackLabel/0jtoo0th/3/

@KacperMadej KacperMadej added the Bug label Nov 6, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment